# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
20572 | 2017-02-12T11:41:06 Z | 김동현(#48, ring0297) | 채점 시스템 (OJUZ11_judge) | C++14 | 46 ms | 2020 KB |
#include <bits/stdc++.h> using namespace std; long long d, r, m, n; int main() { scanf("%lld", &n); for(int i=1;i<=n;i++){ scanf("%lld %lld", &r, &m); d = 1; while(d<=r) d*=10; for(int j=0;;j++,d*=10){ if(d+r>m){ printf("%d\n", j); break; } } } return 0; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 29 ms | 2020 KB | Output isn't correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 29 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 29 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
5 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
6 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
7 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
8 | Incorrect | 36 ms | 2020 KB | Output isn't correct |
9 | Incorrect | 46 ms | 2020 KB | Output isn't correct |
10 | Incorrect | 43 ms | 2020 KB | Output isn't correct |
11 | Incorrect | 29 ms | 2020 KB | Output isn't correct |