有没有会python的大佬帮我看看这哪错了

B2001 入门测试题目

@[Sherlock_Holmes857](/user/1229717) 我不会python,但int会爆掉,换一个大一点的数据类型应为[1,4×10 18 ]
by penguin_is_cool @ 2023-12-04 23:00:06


py的input是读入一整行,如果你想同时对多个变量赋值应该写成 ``` a,b=map(int,input().split()) print(a+b) ```
by KAMITO @ 2023-12-04 23:08:06


@[penguin_is_cool](/user/1065176) py自带高精度
by KAMITO @ 2023-12-04 23:08:49


@[penguin_is_cool](/user/1065176) ?
by cff_0102 @ 2023-12-04 23:32:47


@[KAMITO](/user/747671) @[KAMITO](/user/747671) @[cff_0102](/user/542457) 哦,以为和c一样......
by penguin_is_cool @ 2023-12-05 07:27:32


@[penguin_is_cool](/user/1065176) 谢谢大佬
by LeavingAC @ 2023-12-06 21:37:35


@[KAMITO](/user/747671) okok 谢谢
by LeavingAC @ 2023-12-06 21:38:38


@[KAMITO](/user/747671) 用这个也行 ```python a = list(map(int,input().split())) print(sum(a)) ``` 我试了 过了
by LeavingAC @ 2023-12-06 21:43:38


```python x = list(input().split(' ')) a,b = int(x[0]),int(x[1]) print(a+b) ```
by SHHD @ 2023-12-29 20:38:18


@[KAMITO](/user/747671) 那岂不是说我这种蒟蒻可以写高精加了?
by PanSongyun @ 2024-01-13 21:44:21


| 下一页