所有测试点全错代码(附每一个错误名)
2025-08-05 22:23:00
发布于:上海
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
if(a==1&&b==1){
cout<<abs((int)('A')-(int)('C'));
//AC - Accept
}
else if(a==1&&b==2){
cout<<"WA";
//WA - Wrong Answer
}
else if(a==22&&b==73){
for(int TLE=-2147483648;TLE<=2147483647;TLE++){
cout<<"";
}
//TLE - Time Limit Exceeded
}
else if(a==734&&b==898){
vector<string> re;
cout<<re[114514]<<"\n";
//RE - Runtime Error
}
else if(a==8366&&b==8147){
vector<string> mle;
while(1){
mle.push_back(string(1919801,'MLE'));
}
//MLE - Memory Limit Exceeded
}
else if(a==99890&&b==76471){
cout<<" "<<(int)('P')+(int)('E')+176212;
//PE - Presentation Error
}
else{
while(1){
cout<<"OLE";
}
//OLE - Output Limit Exceeded
}
return 0;
//虽然所有测试点都是错的,但我们还是要保持好习惯哦
}
这里空空如也
有帮助,赞一个