Submission #20544

#TimeUsernameProblemLanguageResultExecution timeMemory
20544후시기다네가후시기다네 (#35)채점 시스템 (OJUZ11_judge)Cpython 2
0 / 100
305 ms3 KiB
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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...