Consider N a non-zero positive integer.
Task
Write a program that determines the square of the positive integer that is made up of N digits equal to 1.
Input Data
Input file unu.in contains on the first line the positive integer N
Output Data
Output file unu.out will contain a single line with the square of the positive integer that is made up of N digits equal to 1.
Restrictions
unu.in | unu.out | unu.in | unu.out |
3 |
12321 | 8 |
123456787654321 |
Time limit: 0.1 seconds/test
prof. Sergiu Corlat
Moldavian-Turkish High School, Chişinău, Republic of Moldova
Contact:scorlat@gmail.com