跳到正文

Khotcrsty

1792689

/.Let life be beautiful like summer flowers and death like autumn leaves./

这是 2026年11月6日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1792689
抓取

版本

  1. v2当前
  2. v1

汉魂南渡

神秘代码

C++
// author fkxr
#include<bits/stdc++.h>
using namespace std;
const string problem="./ak_all/ak_all",mycode="./ak_all/ak_all";
const int MAXID=6;
signed main(){
    system("rm -f ./*.myans");
    assert(!system(("g++ "+mycode+".cpp -o ./a.exe -O2 -std=c++14").c_str()));
    for(int t=1;t<=MAXID;t++){
        string id=problem+to_string(t);
        string op="./a.exe <"+id+".in > "+id+".myans";
        string run="ulimit -s unlimited && ulimit -v 524288 && ulimit -t 5 && time -f 'time: %e s memory: %M kb' "+op;
        system(run.c_str());
        string cmp="diff -bB "+id+".ans "+id+".myans";
        if(system(cmp.c_str())){
            cout<<"WA on test #"<<t<<"\n";
        }else{
            cout<<"#"<<t<<" was correct!\n";
        }
    }
    return 0;
}
C++
#include <bits/stdc++.h>
#define int long long
#define endl "\n"
using namespace std;

signed main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr), cout.tie(nullptr);
    
    return 0;
}

信奥

VisuAlgo

Algorithm Visualizer

Graph Editor

Big-O Cheat Sheet

Overleaf

OIerDb


数学

数学乐

国家中小学智慧教育平台

可汗学院中文站

菁优网

学科网

Wolfram Alpha

GeoGebra


化学

物理