求助
查看原帖
求助
1269604
youranzide楼主2024/3/3 20:43

92分怎么搞?

#include<iostream>
using namespace std;

int main(){
    long long n1[2],n2[2];
    cin >> n1[0] >> n1[1] >> n2[0] >> n2[1];
    if (n1[0] * n2[0] >= -2147483648 && n1[1] * n2[1] <= 2147483647)
    cout << "int";
    else cout << "long long int";
    return 0;
}
2024/3/3 20:43
加载中...