99分!!!
查看原帖
99分!!!
1476574
hzt_2012楼主2025/1/23 16:48
#include<bits/stdc++.h>
using namespace std;
int x1,x2,x3,x4;
const long long n = 1;
int main()
{	
	scanf("%d %d %d %d",&x1,&x2,&x3,&x4);
	if(n * x2 * x4 > 2147483647 || n * x3 * x1 < -2147483648 || n * x1 * x4 < -2147483648 || n * x2 * x3 < -2147483648)
	{
	    printf("long long int");
	}
	else
	{
	    printf("int");
	}
    return 0;
}
2025/1/23 16:48
加载中...