各类自动机

· · 个人记录

众所周知,本人是个傻逼蒟蒻。

我不会AC自动机,大家见谅!

WA自动机(Wonderful Answer):

#include<bits/stdc++.h>
using namespace std;
int main()
{
    printf("1145141919810");
    return 0;
}

RE自动机(Run Excellent):

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a[114514];
    printf("%d",a[1919810]);
    return 0; 
} 

TLE自动机(Time Limit Enough):

#include<bits/stdc++.h>
using namespace std;
int main()
{
    while(1);
} 

MLE自动机(Memory Limit Enough):

#include<bits/stdc++.h>
using namespace std;
int main()
{
    main();
}  

CE自动机(Compile Easily):

#include<bits/stdc++.h>
using namespace std;
long long main()
{
    return 0;
} 

OLE自动机(Output Limit Enough):

#include<bits/stdc++.h>
using namespace std;
string s;
int main()
{
    for(int i=1;i<=100;i++) 
    s+="qwq"; 
    while(1) 
    cout<<s;
    return 0;
}