Submit | All submissions | Best solutions | Back to list |
NDIGITS - N - DIGIT NUMBERS |
How many n-digit whole numbers are there?
Input
The first line of input consists of an integer t denotes the number of test cases. Then for the next t lines each line consists of an integer n.
Output
For each n output the number of n-digit whole numbers.
Constraints
1 <= t <= 100
1 <= n <= 1000
Example
Input: 1 1 Output: 10
Added by: | cegprakash |
Date: | 2011-05-03 |
Time limit: | 0.100s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: BF |