88求助
查看原帖
88求助
1053122
shy_lihui楼主2023/12/12 21:38
//#include<bits/stdc++.h>
#include<iostream>
#include<math.h>
#include<cstring>
#include<string.h>
#include<algorithm>
#include<stdio.h>
#define INT_MIN -2147483648
#define INT_MAX 2147483648

using namespace std;


long long x1;
long long y5;
long long x2;
long long y6;
long long s1;
long long s2;

int main()
{
	
	cin>>x1>>x2>>y5>>y6;
	s1=x1*x2;
	s2=y5*y6;

	if((s1>INT_MIN && s1<INT_MAX) && (s2>INT_MIN && s2<INT_MAX))
	{
		cout<<"int";
	}
	else cout<<"long long int";
	return 0;
}
2023/12/12 21:38
加载中...