Submission #20549

#TimeUsernameProblemLanguageResultExecution timeMemory
20549후시기다네가후시기다네 (#35)채점 시스템 (OJUZ11_judge)Cpython 2
100 / 100
317 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 b = '1' + '0' * cnt + b if int(a) < int(b): print cnt else : print cnt + 1
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...