教你制作彩虹题

· · 个人记录

效果:https://www.luogu.com.cn/problem/U294569

首先下载 data.zip,然后上传到题目测试点中,然后在题目标签中选择 Special Judge,然后提交下面的代码:

#include<bits/stdc++.h>
using namespace std;
int MLE(){
    new int[114514];
    return MLE();
}
int main(){
    ios_base::sync_with_stdio(false);
    int a;cin>>a;
    if(a==1){ // AC
        cout<<"AC";
    }
    if(a==2){ // WA
        cout<<"WA";
    }
    if(a==3){ // RE
        return 114514;
    }
    if(a==4){ // MLE
        cout<<MLE();
    }
    if(a==5){ // TLE
        while(1);
    }
    if(a==6){ // OLE
        string n="688888777777777777777777777777777777777777777777777777777777";
        while(1)cout<<n;
    }
    if(a==7){ // UKE
        cout << "UKE";
    }
    return 0;
}

最后,彩虹题就做好了。

下面是按照此方法制作成功彩虹题的人:

私信我展示,费用 1 关注。