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
p00066.html87 linesDownload Raw Back to problem_descriptions
1 2 3 4<H1>三目並べ</H1>5 6<p>7三目並べは,3 &times; 3のマス目の中に交互に ○ と × を入れていき、縦・横・斜めの何れかに一列 ○ か × が並んだときに、勝ちとなるゲームです(図1〜図3 を参照)8</p>9 10<center>11<table>12<tr>13<td width="140"><img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_tic1"></td>14<td width="140"><img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_tic2"></td>15<td width="140"><img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_tic3"></td>16</tr>17<tr>18<td>図1:○の勝ち</td>19<td>図2:× の勝ち</td>20<td>図3:引き分け</td>21</tr>22</table>23</center>24<br/>25 26<p>27三目並べは、○と×が交互にマス目を埋めていき、どちらかが一列揃ったときにゲーム終了となります。そのため、図 4 のように、○と×が両方とも一列そろっている場合はありえない局面です。ありえない局面が入力されることはありません。28</p>29 30<center>31<table>32<tr>33<td width="140"><img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_tic4"></td>34</tr>35<tr>36<td>図4:ありえない局面</td>37</tr>38</table>39</center>40<br/>41 42 43<p>44三目並べの盤面を読み込んで、勝敗の結果を出力するプログラムを作成して下さい。45</p>46 47<H2>Input</H2>48 49<p>50入力は複数のデータセットからなります。各データセットとして、盤面を表す1つの文字列が1行に与えられます。51盤面の文字列は、○、×、空白をそれぞれ半角英小文字の o、x、s であらわし、下図のマス目の順に並んでいます。52</p>53 54<center>55<img src="https://judgeapi.u-aizu.ac.jp/resources/images/IMAGE1_tic5">56</center>57<br/>58 59<p>60データセットの数は 50 を超えません。61</p>62 63<H2>Output</H2>64 65<p>66データセットごとに、○が勝ちなら半角英小文字の o を、×が勝ちなら半角英小文字の x を、引き分けならば半角英小文字の d を1行に出力してください。67</p>68 69<H2>Sample Input</H2>70 71<pre>72ooosxssxs73xoosxsosx74ooxxxooxo75</pre>76 77<H2>Output for the Sample Input</H2>78 79<pre>80o81x82d83</pre>84 85 86 87