# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
20549 | | 후시기다네가후시기다네 (#35) | 채점 시스템 (OJUZ11_judge) | Cpython 2 | | 317 ms | 3 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
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 |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |