# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
20604 | 2017-02-12T15:47:00 Z | Where is my GPA?(#45, jun6873) | 채점 시스템 (OJUZ11_judge) | C++14 | 46 ms | 2020 KB |
#include <bits/stdc++.h> using namespace std; typedef long long lint; void exe() { lint now, all, k, r=-1; scanf("%lld%lld", &now, &all); for (k=1; k<=now; k*=10); for (; now<=all; ) now += k, k *= 10, r++; printf("%lld\n", r); } int main() { int t; scanf("%d", &t); while (t--) exe(); }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 2020 KB | Output is correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
7 | Incorrect | 46 ms | 2020 KB | Output isn't correct |
8 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
9 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
10 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
11 | Incorrect | 36 ms | 2020 KB | Output isn't correct |