Why?
查看原帖
Why?
1222005
hcodm楼主2024/6/11 17:21

为什么P1401和B3906题目一样,同样的代码却一个AC一个WA呢?

B3906的AC代码:

#include<bits/stdc++.h>
using namespace std;
int main(){
	long long int x,y,x1,y1;
	cin>>x>>y>>x1>>y1;
	if(y*y1>2147483647){
		cout<<"long long int";
	}
	else cout<<"int";
	return 0;
}

可是P1401就94分呢? 大佬求带

2024/6/11 17:21
加载中...