跳到正文

个人记录

对拍

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

文章信息

收录
2025年12月12日
更新
2025年12月12日
篇幅
约 1 分钟

版本

  1. v1当前
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;

int main(){
    system("g++ -o2 -std=c++14 -lm bf.cpp -o bf");
    system("g++ -o2 -std=c++14 -lm std.cpp -o std");
    system("g++ -o2 -std=c++14 -lm range.cpp -o range");
    int idx=0;
    while(1){
        idx++;
        cout<<idx<<'\n';
        system("range > in.txt");
        system("std < in.txt > std.out");
        system("bf < in.txt > bf.out");
        if(system("fc std.out bf.out")){
            break;
        }
    }
    return 0;
}
原文