不懂就问

P1303 A*B Problem

I_AM_THREE_BODY_MAN @ 2023-05-09 17:46:24

数据太大了,怎么办??

#include<bits/stdc++.h>
using namespace std;
long long a,b;
int main(){
    cin>>a>>b;
    cout<<a*b;

    return 0;
}

by panxz2009 @ 2023-05-09 17:49:59

呃,请问您不懂高精度是吗?


by jhdrgfj @ 2023-05-09 17:52:07

用 python。


by codejiahui @ 2023-05-09 18:10:54

@linbofei2023 凉拌


by I_AM_THREE_BODY_MAN @ 2023-05-10 03:32:48

@panxz 我试过了,也没用


by panxz2009 @ 2023-05-10 07:02:09

是不是高精度的代码写错了 你过样例了吗


by zzhlzy200912 @ 2023-05-13 15:34:22

用python就很简单了 代码就一行: print(int(input())*int(input()))


by pengrongxuan @ 2023-08-28 07:36:14

1e+2000,要用高精度


|