# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20427 | 2017-02-11T12:17:17 Z | CodingBug(#51, CodingBug) | 채점 시스템 (OJUZ11_judge) | C++ | 49 ms | 2020 KB |
#include <bits/stdc++.h> using namespace std; int a,b; int main(){ // freopen("input.txt","r",stdin); int t; scanf("%d",&t); while(t--){ scanf("%d %d",&a,&b); int k=1e9; while(k+a>b) k/=10; while(a) k/=10,a/=10; while(k) k/=10,a++; printf("%d\n",a); } return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 49 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 49 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
7 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
8 | Incorrect | 49 ms | 2020 KB | Output isn't correct |
9 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
10 | Incorrect | 46 ms | 2020 KB | Output isn't correct |
11 | Incorrect | 46 ms | 2020 KB | Output isn't correct |