第101个点错了,本来想要暴力解决

P1401 [入门赛 #18] 禁止在 int 乘 int 时不开 long long

[+1](https://www.luogu.com.cn/record/152159515)
by xinxin2022 @ 2024-03-23 09:15:46


```c #include<bits/stdc++.h> using namespace std; int main() { long long a,s,d,f; cin>>a>>s; cin>>d>>f; if(((s*f)>2147483647)||((s*d)>2147483647)||((f*a)>2147483647)||((a*d)>2147483647)||((s*f)<-2147483648)||((s*d)<-2147483648)||((a*f)<-2147483648)||((a*d)<-2147483648)) cout<<"long long int"; else cout<<"int"; return 0; } ```
by lelaimc @ 2024-03-30 20:15:46


@[heheya](/user/970434) 看看我的
by lelaimc @ 2024-03-30 20:16:21


|