UM-SJTU VG101 22SU - Determines the last series of sequence in a vector
Command Line Program
Write a program that takes a number n from the command line, and print a vector on the screen in the form of 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, ... , where n determines the length and values of the last series of sequence in the vector.