# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20607 | 2017-02-12T15:52:22 Z | Where is my GPA?(#45, jun6873) | 채점 시스템 (OJUZ11_judge) | C++ | 63 ms | 2020 KB |
#include <bits/stdc++.h> using namespace std; typedef long long lint; void exe() { lint now, all, k, r=0; scanf("%lld%lld", &now, &all); for (k=10; k<=now; k*=10); for (; now+k<=all; ) k *= 10, r++; printf("%lld\n", r); } int main() { int t; scanf("%d", &t); while (t--) exe(); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
2 | Correct | 33 ms | 2020 KB | Output is correct |
3 | Correct | 43 ms | 2020 KB | Output is correct |
4 | Correct | 33 ms | 2020 KB | Output is correct |
5 | Correct | 39 ms | 2020 KB | Output is correct |
6 | Correct | 33 ms | 2020 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
2 | Correct | 33 ms | 2020 KB | Output is correct |
3 | Correct | 43 ms | 2020 KB | Output is correct |
4 | Correct | 33 ms | 2020 KB | Output is correct |
5 | Correct | 39 ms | 2020 KB | Output is correct |
6 | Correct | 33 ms | 2020 KB | Output is correct |
7 | Correct | 39 ms | 2020 KB | Output is correct |
8 | Correct | 63 ms | 2020 KB | Output is correct |
9 | Correct | 39 ms | 2020 KB | Output is correct |
10 | Correct | 43 ms | 2020 KB | Output is correct |
11 | Correct | 19 ms | 2020 KB | Output is correct |