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.
3139
1 2 3 4<H1>ぐるぐる模様</H1>5 6<p>7「ぐるぐる模様」を表示するプログラムを作成することにしました。「ぐるぐる模様」は以下のようなものとします。8</p>9 10<ul>11<li>1 辺の長さが <var>n</var> の場合、<var>n</var> 行 <var>n</var> 列の文字列として表示する。</li>12<li>左下隅を基点とし,時計回りに回転する渦状の模様とする。</li>13<li>線のある部分は #(半角シャープ)、空白部分は " "(半角空白)で表現する。</li>14<li>線と線の間は空白を置く。</li>15</ul>16 17<p>18整数 <var>n</var> を入力とし,1 辺の長さが <var>n</var> の「ぐるぐる模様」を出力するプログラムを作成してください。19</p>20 21 22<H2>Input</H2>23 24<p>25入力は以下の形式で与えられます。26</p>27 28<pre>29<var>d</var>30<var>n<sub>1</sub></var>31<var>n<sub>2</sub></var>32:33<var>n<sub>d</sub></var>34</pre>35 36<p>371行目にデータセットの数 <var>d</var> (<var>d</var> ≤ 20)、続く <var>d</var> 行に <var>i</var> 個目のぐるぐる模様の辺の長さ <var>n<sub>i</sub></var> (1 ≤ <var>n<sub>i</sub></var> ≤ 100) がそれぞれ1行に与えられます。38</p>39 40<H2>Output</H2>41 42<p>43データセットごとに、ぐるぐる模様を出力してください。データセットの間に1行の空行を入れてください。44</p>45 46<H2>Sample Input</H2>47 48<pre>49250551652</pre>53 54<H2>Output for the Sample Input </H2>55 56<pre>57#####58# #59# # #60# # #61# ###62 63######64# #65# ## #66# # #67# # #68# ####69</pre>70 71 72 73 