# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
20403 | 2017-02-11T04:49:38 Z | Evnormal(#39, kriii) | 채점 시스템 (OJUZ11_judge) | C++14 | 43 ms | 1116 KB |
#include <stdio.h> int N; int main() { scanf ("%d",&N); while (N--){ long long a,b; scanf ("%lld %lld",&a,&b); long long u = 1; while (!(a < u)) u *= 10; if (a == 0) u = 10; int c = 0; while (a+u<=b) u *= 10, c++; printf ("%d\n",c); } return 0; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 1116 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 1116 KB | Output is correct |
2 | Correct | 36 ms | 1116 KB | Output is correct |
3 | Correct | 39 ms | 1116 KB | Output is correct |
4 | Correct | 33 ms | 1116 KB | Output is correct |
5 | Correct | 39 ms | 1116 KB | Output is correct |
6 | Correct | 33 ms | 1116 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 1116 KB | Output is correct |
2 | Correct | 36 ms | 1116 KB | Output is correct |
3 | Correct | 39 ms | 1116 KB | Output is correct |
4 | Correct | 33 ms | 1116 KB | Output is correct |
5 | Correct | 39 ms | 1116 KB | Output is correct |
6 | Correct | 33 ms | 1116 KB | Output is correct |
7 | Correct | 43 ms | 1116 KB | Output is correct |
8 | Correct | 36 ms | 1116 KB | Output is correct |
9 | Correct | 39 ms | 1116 KB | Output is correct |
10 | Correct | 39 ms | 1116 KB | Output is correct |
11 | Correct | 29 ms | 1116 KB | Output is correct |