放心吧,用高精度,数据大的离谱
by liuandwang @ 2023-05-08 23:27:22
@[Harry_Haiyun](/user/977778)
## 提示
length(A),length(B)<=10^4
by Lemonlwl @ 2023-05-09 08:34:14
@[Lemonlwl](/user/729002) 他估计看成$A,B<=10^4$了。。。
by codejiahui @ 2023-05-09 10:33:32
## 也不行呀:
```python
#include <iostream>
using namespace std;
int main()
{
long long a = 3762198532681935623749576,b = 23527811365446371827364543215;
cin >> a;
cin >> b;
cout << a+b << endl;
cout << a-b << endl;
cout << a*b << endl;
cout << a/b << endl;
cout << a%b << endl;
return 0;
}
by __Harry_Haiyun__ @ 2023-05-09 12:57:40
都说了是高精度。
by Resolute_Faith @ 2023-05-09 16:16:44
python请求出战
```python
a=int(input())
b=int(input())
print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)
```
by huangyifan1688 @ 2023-05-13 12:12:29
# python大法好
```
a=int(input())
b=int(input())
print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)
```
自带高精度
by Jayant_xincheng @ 2023-07-01 07:56:14
有了python爸爸妈妈再也不怕我不会写高精度了
by wenguangxi @ 2023-08-03 14:54:18