可以看看吗,家里跑过了,洛谷上编译失败
查看原帖
可以看看吗,家里跑过了,洛谷上编译失败
1266584
companions楼主2024/10/2 16:15
#include<bits/stdc++.h>
using namespace std;
#define ll long long
ll x1,x2,y1,y2;
int main()
{
    cin>>x1>>y1>>x2>>y2;
    if(x1*y1>2147483647||x1*y1<-2147483648){
        cout<<"long long int";
        return 0;
    }
    if(x1*y2>2147483647||x1*y2<-2147483648){
        cout<<"long long int";
        return 0;
    }
    if(x2*y1>2147483647||x2*y1<-2147483648){
        cout<<"long long int";
        return 0;
    }
    if(x2*y2>2147483647||x2*y2<-2147483648){
        cout<<"long long int";
        return 0;
    }
    cout<<"int";
    return 0;
}
2024/10/2 16:15
加载中...