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<H1>Advanced Algorithm Class</H1>4 5<p>6 In the advanced algorithm class, n<sup>2</sup> students sit in n rows and7n columns. One day, a professor who teaches this subject comes into the class, asks the shortest student in each row to lift up his left hand, and the tallest student in each column to lift up his right hand.8What is the height of the student whose both hands are up ? The student will9become a target for professor’s questions.10</p>11<p>12 Given the size of the class, and the height of the students in the class, you13have to print the height of the student who has both his hands up in the class.14</p>15 16<H2>Input</H2>17 18<p>19The input will consist of several cases. the first line of each case will be n(0 < n < 100), the number of rows and columns in the class. It will then20be followed by a n-by-n matrix, each row of the matrix appearing on a single21line. Note that the elements of the matrix may not be necessarily distinct. The22input will be terminated by the case n = 0.23 24</p>25 26<H2>Output</H2>27 28<p>29For each input case, you have to print the height of the student in the class30whose both hands are up. If there is no such student, then print 0 for that case.31 32</p>33 34<H2>Sample Input</H2>35<pre>363371 2 3384 5 6397 8 9403411 2 3427 8 9434 5 644045</pre>46 47<H2>Output for the Sample Input</H2>48<pre>49750751</pre>