Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123225 6倪葭轩 数字反转 Python3 Wrong Answer 39 MS 3768 KB 231 2025-06-28 13:47:16

Tests(0/1):


Code:

n=int(input()) for x in range(n): a,b=input().split() c=int(),int(b) a=a[::-1] b=b[::-1] d=int(a)+int(b) d=str(d)[::-1] if c==int(d): print(c) else: print("NO")


Run Info:

------Input------
10 12 34 99 1 22 3 123 123 29 1 6 2 18 27 28 83 12 23 7 2
------Answer-----
46 NO NO 246 NO 8 NO NO 35 9
------Your output-----
NO NO NO NO NO NO NO NO NO NO