# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
20544 | | 후시기다네가후시기다네 (#35) | 채점 시스템 (OJUZ11_judge) | Cpython 2 | | 305 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
if int(a) > int('1' + '0' * cnt + b):
print cnt + 1
else :
print cnt
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |