Team Ai
Datasetpublic

prithivMLmods/Coder-Stat

Coder-Stat Dataset Overview The Coder-Stat dataset is a collection of programming-related data, including problem IDs, programming languages, original statuses, and source code snippets. This dataset is designed to assist in the analysis of coding patterns, error types, and performance metrics. Dataset Details Modalities Tabular: The dataset is structured in a tabular format. Text: Contains text data, including source code snippets.… See the full description on the dataset page: https://huggingface.co/datasets/prithivMLmods/Coder-Stat.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes139downloads
p00320.html79 linesDownload Raw Back to problem_descriptions
1 2 3 4<script type="text/x-mathjax-config">5  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});6</script>7<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">8</script>9 10 11<H1>直方体</H1>12 13<p>14アイヅ放送協会の教育番組(AHK教育)では、子供向けの工作番組「あそんでつくろ」という番組を放送しています。今日は画用紙で箱を作る回ですが、用意した長方形の画用紙で直方体ができるかを確かめたいと思います。ただし、画用紙は切ったり折ったりしてはいけません。15</p>16 17<p>186つの長方形が与えられるので、それらを使って直方体が作れるかどうか判定するプログラムを作成せよ。19</p>20 21 22<h2>Input</h2>23 24<p>25入力は以下の形式で与えられる。26</p>27 28<pre>29<var>h<sub>1</sub></var> <var>w<sub>1</sub></var>30<var>h<sub>2</sub></var> <var>w<sub>2</sub></var>31<var>h<sub>3</sub></var> <var>w<sub>3</sub></var>32<var>h<sub>4</sub></var> <var>w<sub>4</sub></var>33<var>h<sub>5</sub></var> <var>w<sub>5</sub></var>34<var>h<sub>6</sub></var> <var>w<sub>6</sub></var>35</pre>36 37<p>38入力は6行からなり、それぞれの行に各長方形の縦の長さを表す整数 <var>h<sub>i</sub></var> (1 &le; <var>h<sub>i</sub></var> &le; 1000) と横の長さを表す整数 <var>w<sub>i</sub></var> (1 &le; <var>w<sub>i</sub></var> &le; 1000) が与えられる。39</p>40 41 42<h2>Output</h2>43 44<p>45直方体を作成できる場合には「yes」を、作成できない場合には「no」を出力する。ただし、立方体は直方体の一種なので、立方体の場合でも「yes」と出力する。46</p>47 48<h2>Sample Input 1</h2>49 50<pre>512 2522 3532 3542 3552 2563 257</pre>58 59<h2>Sample Output 1</h2>60<pre>61yes62</pre>63<br/>64 65 66<h2>Sample Input 2</h2>67<pre>682 2692 3702 3712 3722 2732 274</pre>75 76<h2>Sample Output 2</h2>77<pre>78no79</pre>