警示后人
查看原帖
警示后人
710862
thrX楼主2022/9/25 16:18

本来呢,我这个代码

#include<bits/stdc++.h>
using namespace std;
int main(){
	
	int a,b,c;
	cin>>a>>b>>c;
	if(a*a>b*c)cout<<"Alice";
	else cout<<"Bob";
	
	return 0;
} 

然后90分,WA了第九个点

后面呢,我测试了一下a*a和b*c

发现爆int了(没有RE???)

于是就用LL AC了

一定要开LL啊!

2022/9/25 16:18
加载中...