C20230843 @ 2023-12-28 16:56:15
a=int(input()) b=int(input()) print(a+b)
by Usada_Pekora @ 2023-12-28 17:03:00
@C20230843
a, b = map(int, input().split(' '))
print(a + b)
by SpeedStar @ 2023-12-28 17:40:24
@Usada_Pekora 殊不知split里的' '也不需要
by NaTi @ 2023-12-28 17:42:21
@C20230843 @Usada_Pekora OI使用split最好无参,那样会拆掉所有空白字符,包括换行、空格、制表符等等。虽然说大部分标准文件都是空格就是了、
by nlhzh1818 @ 2024-01-21 22:19:33
nums=input() are=0 num2=nums.split() for num in num2: new=int(num) are+=new print(are) 空格不就搞定了?!