分享几种自动机

· · 休闲·娱乐

本文以A+B为例

CE自动机

#include <iostreet>
#include <vector>
#include <algorithm>

using namespace std;

int maint h_back(h);

    i
p1z(    }
    codp<< ed

    retu;
}

RE自动机

#include<bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    cin>>a>>b;

    cout<<1/0;

}

WA自动机

#include<bits/stdc++.h>
using namespace std;

int main(){
    long long a,b;
    cin>>a>>b;

    cout<<a-b+991389999927;

}

TLE自动机

#include<bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    cin>>a>>b;

    while(1){
      cout<<" ";
    }

}