# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
20670 | 2017-02-13T12:50:51 Z | Kwiyomi Express(#82, ainu7) | 채점 시스템 (OJUZ11_judge) | C++ | 39 ms | 2020 KB |
#include <math.h> #include <stdio.h> #include <string.h> #include <vector> #include <string> #include <queue> #include <map> #include <algorithm> #include <cmath> #include <iostream> #include <sstream> #include <set> using namespace std; int main() { int n; cin >> n; for (int i=0; i<n; i++) { long long a, b; scanf("%lld %lld", &a, &b); long long val = 1; while (val <= a) val *= 10; int cnt = 0; while (val + a <= b) { cnt ++; val *= 10; } printf("%d\n", cnt); } }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 23 ms | 2020 KB | Output isn't correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 23 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 29 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 | 23 ms | 2020 KB | Output isn't correct |
2 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
3 | Incorrect | 33 ms | 2020 KB | Output isn't correct |
4 | Incorrect | 29 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 | 36 ms | 2020 KB | Output isn't correct |
8 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
9 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
10 | Incorrect | 39 ms | 2020 KB | Output isn't correct |
11 | Incorrect | 33 ms | 2020 KB | Output isn't correct |