# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
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
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 1116 KB | Output is correct |
# | Verdict | Execution time | Memory | 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 |
# | Verdict | Execution time | Memory | 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 |