求助
查看原帖
求助
844496
J_Kobe楼主2023/12/15 12:47
#include <bits/stdc++.h>
using namespace std;

int main()
{
    long long x, y, x1, y2;
    cin >> x >> y >> x1 >> y2;
    long long s, t;
    s = x * x1;
    t = y * y2;
    if (s >= INT_MIN && t <= INT_MAX)
        cout << "int" << endl;
    else
        cout << "long long int"<<endl;
    return 0;
}
2023/12/15 12:47
加载中...