BlueBook - Column of Numbers

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 16M

Problem type
BlueBook

Let N be a positive integer consisting of the digits d_n \dots d_1 d_0. Write a program that reads a value of N and then prints its digits in a column, starting with d_0.
Note: The number can and will be very very large.

Sample Input

3467

Sample Output

7
6
4
3

Comments


  • 0
    Fares_X  commented on Jan. 8, 2023, 2:48 p.m.

    Hint: 123 is a positive number, and so is 00123.