95pts求助
查看原帖
95pts求助
1394418
yjy_fywy楼主2024/9/20 13:26

rt,#3,#5,#6,#7,#8错
源码:

#include <iostream>
#include <iomanip>
#include <cmath>
#include <bits/stdc++.h>
using namespace std;
int main(){
long long a1,a2,b1,b2,imax=2147483647;
cin>>a1>>a2>>b1>>b2;
if(a1*b1>=imax||a1*b2>=imax||a2*b1>=imax||a2*b2>=imax){
	cout<<"long long int";
}else{
	cout<<"int";
}
return 0;
}
2024/9/20 13:26
加载中...