U3608.五颜六色的测试点

NOI/NOI+/CTSC

通过率:0%

时间限制:1.00s

内存限制:128MB

题目描述

复制并运行下面的代码

#include<bits/stdc++.h>
using namespace std;
int main(){
    string a;
    cin>>a;
    if(a=="AC") cout<<a;
    else if(a=="WA") cout<<a;
    else if(a=="RE") return -1;
    else if(a=="PE") cout<<a;
    else if(a=="TLE") while(1){}
    else if(a=="MLE") while(1){a+=a;}
    return 0;
}

AC代码看这

#include<bits/stdc++.h>
using namespace std;
int main(){
    string a;
    cin>>a;
    if(a=="AC") cout<<a;
    else if(a=="WA") cout<<"ABC";
    else if(a=="RE") cout<<a;
    else if(a=="PE") cout<<"P E";
    else if(a=="TLE") cout<<a;
    else if(a=="MLE") cout<<a;
    return 0;
}
首页