跳到正文

休闲·娱乐

分享几种自动机

___m_2014约 1 分钟
原文
文章信息与版本

文章信息

发布
2026年5月10日
收录
2026年5月14日
更新
2026年11月6日
篇幅
约 1 分钟

版本

  1. v2当前
  2. v1

本文以A+B为例

CE自动机

C++
#include <iostreet>
#include <vector>
#include <algorithm>

using namespace std;

int maint h_back(h);

    i
p1z(    }
    codp<< ed

    retu;
}

RE自动机

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

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

    cout<<1/0;

}

WA自动机

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

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

    cout<<a-b+991389999927;

}

TLE自动机

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

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

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

}
原文