You are viewing a single comment's thread. Return to all comments →
In the question description, the input format is as follows:
Input Format
The first line contains an integer , the number of items in . Each of the next lines contains an integer where .
If you solve it with C++, its input is a vector and the size() tells you what N is.
So there is no first line input.
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Sort 1
You are viewing a single comment's thread. Return to all comments →
In the question description, the input format is as follows:
Input Format
The first line contains an integer , the number of items in . Each of the next lines contains an integer where .
If you solve it with C++, its input is a vector and the size() tells you what N is.
So there is no first line input.