# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20748 | 2017-02-15T12:26:01 Z | eaststar | 채점 시스템 (OJUZ11_judge) | C++11 | 39 ms | 1116 KB |
#include <stdio.h> int main(){ long long t; int n,x,y,s; scanf("%d",&n); for(;n--;){ scanf("%d%d",&x,&y); s=0; for(t=10;t<=x;t*=10); for(;t+x<=y;++s,t*=10); printf("%d\n",s); } return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 36 ms | 1116 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 36 ms | 1116 KB | Output is correct |
2 | Correct | 39 ms | 1116 KB | Output is correct |
3 | Correct | 36 ms | 1116 KB | Output is correct |
4 | Correct | 33 ms | 1116 KB | Output is correct |
5 | Correct | 36 ms | 1116 KB | Output is correct |
6 | Correct | 36 ms | 1116 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 36 ms | 1116 KB | Output is correct |
2 | Correct | 39 ms | 1116 KB | Output is correct |
3 | Correct | 36 ms | 1116 KB | Output is correct |
4 | Correct | 33 ms | 1116 KB | Output is correct |
5 | Correct | 36 ms | 1116 KB | Output is correct |
6 | Correct | 36 ms | 1116 KB | Output is correct |
7 | Correct | 39 ms | 1116 KB | Output is correct |
8 | Correct | 39 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 | 36 ms | 1116 KB | Output is correct |