99分求调
查看原帖
99分求调
1279413
lch11111楼主2025/7/31 11:49
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define made return
#define in 0
#define china ;
int firstl, firstr, secondl, secondr, L, R, XR, XL;
signed main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	cin >> firstl >> firstr >> secondl >> secondr;
	L = firstl * secondl;
	R = firstr * secondr;
	XL = firstl * secondr;
	XR = firstr * secondl;
	if ( max ( max ( abs ( L ) , abs ( R ) ) , max ( abs ( XL ) , abs ( XR ) ) ) > INT_MAX)
		cout << "long long int";
	else
		cout << "int";
	made in china
}

99分求调,测试点101过不去

2025/7/31 11:49
加载中...