Counting Sort 1

  • + 0 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.