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
p00760.html71 linesDownload Raw Back to problem_descriptions
1 2 3<h1>Millennium</h1>4 5<p>6A wise king declared a new calendar. "Tomorrow shall be the first day of the calendar, that is, the day 1 of the month 1 of the year 1.  Each year consists of 10 months, from month 1 through month 10, and starts from a <i>big month</i>.  A common year shall start with a big month, followed by <i>small months</i> and big months one after another.  Therefore the first month is a big month, the second month is a small month, the third a big month, ..., and the 10th and last month a small one.  A big month consists of 20 days and a small month consists of 19 days.  However years which are multiples of three, that are year 3, year 6, year 9, and so on, shall consist of 10 big months and no small month."</p>7 8<p>Many years have passed since the calendar started to be used.  For celebration of the millennium day (the year 1000, month 1, day 1), a royal lottery is going to be organized to send gifts to those who have lived as many days as the number chosen by the lottery.  Write a program that helps people calculate the number of days since their birthdate to the millennium day.9</p>10 11<!-- end en only -->12 13 14 15<h3>Input</h3>16 17<!-- begin en only -->18<p>19The input is formatted as follows.20</p>21<!-- end en only -->22 23 24<blockquote>25    <i>n</i><br>26    <i>Y<sub>1</sub> M<sub>1</sub> D<sub>1</sub></i><br>27    <i>Y<sub>2</sub> M<sub>2</sub> D<sub>2</sub></i><br>28    ...<br>29    <i>Y<sub>n</sub> M<sub>n</sub> D<sub>n</sub></i>30</blockquote>31 32 33<p>34Here, the first line gives the number of datasets as a positive integer <i>n</i>, which is less than or equal to 100.  It is followed by <i>n</i> datasets.  Each dataset is formatted in a line and gives three positive integers, <i>Y<sub>i</sub></i> (&lt; 1000), <i>M<sub>i</sub></i> (&le; 10), and <i>D<sub>i</sub></i> (&le; 20), that correspond to the year, month and day, respectively, of a person's birthdate in the king's calendar.  These three numbers are separated by a space.35</p>36 37<h3>Output</h3>38 39<!-- begin en only -->40<p>41For the birthdate specified in each dataset, print in a line the number of days from the birthdate, inclusive, to the millennium day, exclusive.  Output lines should not contain any character other than this number.42</p>43<!-- end en only -->44 45<h3>Sample Input</h3>46 47<pre>488491 1 150344 3 151696 5 152182 9 553998 8 754344 2 1955696 4 1956999 10 2057</pre>58 59 60<h3>Output for the Sample Input</h3>61 62<pre>63196470641289766559710661607156725268128977695971270171</pre>