# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
974883 | 2024-05-04T05:49:19 Z | sleepntsheep | Palindromes (info1cup18_palindromes) | C | 129 ms | 10236 KB |
#include<stdio.h> int n,d;long long z; int ispal(int a) { int b=a,c=0; while(b)c=c*10+b%10,b/=10; return c==a; } int main() { scanf("%d",&n); while(n--) scanf("%d",&d), z+=ispal(d)*d; printf("%lld",z); }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 2 ms | 348 KB | Output is correct |
3 | Correct | 65 ms | 5120 KB | Output is correct |
4 | Correct | 103 ms | 7560 KB | Output is correct |
5 | Correct | 121 ms | 9868 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 1 ms | 344 KB | Output is correct |
3 | Correct | 42 ms | 348 KB | Output is correct |
4 | Correct | 76 ms | 388 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 1 ms | 344 KB | Output is correct |
3 | Correct | 42 ms | 348 KB | Output is correct |
4 | Correct | 76 ms | 388 KB | Output is correct |
5 | Correct | 0 ms | 348 KB | Output is correct |
6 | Correct | 2 ms | 348 KB | Output is correct |
7 | Correct | 70 ms | 600 KB | Output is correct |
8 | Correct | 82 ms | 384 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 2 ms | 348 KB | Output is correct |
3 | Correct | 65 ms | 5120 KB | Output is correct |
4 | Correct | 103 ms | 7560 KB | Output is correct |
5 | Correct | 121 ms | 9868 KB | Output is correct |
6 | Correct | 0 ms | 344 KB | Output is correct |
7 | Correct | 1 ms | 344 KB | Output is correct |
8 | Correct | 42 ms | 348 KB | Output is correct |
9 | Correct | 76 ms | 388 KB | Output is correct |
10 | Correct | 0 ms | 348 KB | Output is correct |
11 | Correct | 2 ms | 348 KB | Output is correct |
12 | Correct | 70 ms | 600 KB | Output is correct |
13 | Correct | 82 ms | 384 KB | Output is correct |
14 | Correct | 0 ms | 344 KB | Output is correct |
15 | Correct | 4 ms | 688 KB | Output is correct |
16 | Correct | 53 ms | 4232 KB | Output is correct |
17 | Correct | 109 ms | 8972 KB | Output is correct |
18 | Correct | 123 ms | 10236 KB | Output is correct |
19 | Correct | 122 ms | 9808 KB | Output is correct |
20 | Correct | 129 ms | 9808 KB | Output is correct |