시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 736 | 574 | 480 | 80.402% |
You are to write a program to compute different sums based on the given positive integer N.
The first line of the input includes the number of test cases, 1 ≤ t ≤ 10000. Each test case appears in one line containing 1 ≤ N ≤ 10000.
For each test case, print three space separated integers S1, S2, S3 in one line where
4 1 11 111 1111
1 1 2 66 121 132 6216 12321 12432 617716 1234321 1235432
ICPC > Regionals > Asia West Continent > Iran > Iran Internet Programming Contest > IIPC 2015 A번