这里Unsignlonglong不行

P1303 A*B Problem

luogu_orz @ 2023-07-09 14:25:33

为什么只有20分????


by VitrelosTia @ 2023-07-09 14:26:42

因为你不看数据范围


by luogu_orz @ 2023-07-09 14:27:33

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

by luogu_orz @ 2023-07-09 14:28:02

好吧,高精度走起


|