40蒟蒻求助

P1303 A*B Problem

99999873654as7829 @ 2023-12-14 23:15:28

代码:

#include<iostream>
using namespace std;
int main(){
    unsigned long long a,b;
    cin>>a>>b;
    cout<<a*b;
}

悬关!


by Boeing @ 2023-12-14 23:37:14

题目给的数据范围远超unsigned long long能表示的范围,所以会出错,这是一道高精度题,你可以直接看看题解


by Starry_dream @ 2023-12-15 00:06:50

@wuyuhang2012 先学string或char高精


|