#include<bits/stdc++.h> using namespace std; int main() { long long x1,x2,y1,y2; cin>>x1>>x2>>y1>>y2; if(x2*y2>pow(2,31)-1||x1*y1<0-pow(2,31))cout<<"long long int"; else cout<<"int"; }
代码如上,8个WA,负数也考虑了,调一下吧