# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
20549 |
2017-02-12T09:39:06 Z |
후시기다네가후시기다네(#73, prion344) |
채점 시스템 (OJUZ11_judge) |
Python 2 |
|
317 ms |
3 KB |
for i in xrange(input()):
b,a = raw_input().split()
if len(a) <= len(b):
print 0
continue
cnt = len(a) - len(b) - 1
b = '1' + '0' * cnt + b
if int(a) < int(b):
print cnt
else :
print cnt + 1
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
317 ms |
2 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
317 ms |
2 KB |
Output is correct |
2 |
Correct |
168 ms |
2 KB |
Output is correct |
3 |
Correct |
174 ms |
2 KB |
Output is correct |
4 |
Correct |
175 ms |
3 KB |
Output is correct |
5 |
Correct |
168 ms |
3 KB |
Output is correct |
6 |
Correct |
163 ms |
3 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
317 ms |
2 KB |
Output is correct |
2 |
Correct |
168 ms |
2 KB |
Output is correct |
3 |
Correct |
174 ms |
2 KB |
Output is correct |
4 |
Correct |
175 ms |
3 KB |
Output is correct |
5 |
Correct |
168 ms |
3 KB |
Output is correct |
6 |
Correct |
163 ms |
3 KB |
Output is correct |
7 |
Correct |
179 ms |
3 KB |
Output is correct |
8 |
Correct |
174 ms |
3 KB |
Output is correct |
9 |
Correct |
175 ms |
3 KB |
Output is correct |
10 |
Correct |
178 ms |
3 KB |
Output is correct |
11 |
Correct |
317 ms |
3 KB |
Output is correct |