├── .gitignore ├── LICENSE ├── Makefile ├── NEWS.txt ├── README.md ├── example ├── config ├── data │ ├── ,SPJ │ │ ├── 1.in │ │ ├── 1.out │ │ ├── 2.in │ │ ├── 2.out │ │ ├── 3.in │ │ ├── 3.out │ │ ├── 4.in │ │ ├── 4.out │ │ ├── 5.in │ │ ├── 5.out │ │ ├── config │ │ └── spj.cpp │ ├── AplusB │ │ ├── 0.in │ │ ├── 0.out │ │ ├── 1.in │ │ ├── 1.out │ │ ├── 2.in │ │ ├── 2.out │ │ ├── 3.in │ │ ├── 3.out │ │ ├── 4.in │ │ ├── 4.out │ │ ├── 5.in │ │ ├── 5.out │ │ ├── 6.in │ │ ├── 6.out │ │ ├── 7.in │ │ ├── 7.out │ │ ├── 8.in │ │ ├── 8.out │ │ ├── 9.in │ │ └── 9.out │ └── BplusA │ │ ├── 0.in │ │ ├── 0.out │ │ ├── 1.in │ │ ├── 1.out │ │ ├── 2.in │ │ ├── 2.out │ │ ├── 3.in │ │ ├── 3.out │ │ ├── 4.in │ │ ├── 4.out │ │ ├── 5.in │ │ ├── 5.out │ │ ├── 6.in │ │ ├── 6.out │ │ ├── 7.in │ │ ├── 7.out │ │ ├── 8.in │ │ ├── 8.out │ │ ├── 9.in │ │ └── 9.out ├── judge.conf ├── judge.log ├── result.csv └── source │ ├── ACer │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ ├── CEer │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ ├── LGer │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ ├── Mengbier │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ ├── Mogician │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ ├── Pascal │ ├── AplusB.pas │ ├── BplusA.pas │ └── SPJtest.pas │ ├── REer │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c │ └── WAer │ ├── AplusB.cpp │ ├── BplusA.cpp │ └── SPJtest.c ├── src ├── Bar.cpp ├── Bar.h ├── ConfGen.cpp ├── ConfGen.h ├── ConfigJudge.cpp ├── ConfigJudge.h ├── Conio.cpp ├── Conio.h ├── ConverttoString.h ├── Functions_Linux.cpp ├── Functions_Linux.h ├── JudgeScript.cpp ├── JudgeScript.h ├── Makefile ├── MultiCompiler.h ├── TrieTree.cpp ├── TrieTree.h ├── interpreter │ ├── AST.cpp │ ├── AST.h │ ├── Any.cpp │ ├── Any.h │ ├── Makefile │ ├── Message.cpp │ ├── Message.h │ ├── STDFunc.cpp │ └── STDFunc.h ├── judge.cpp ├── judge.h ├── judge_cui.cpp ├── lang │ ├── language.h │ └── language_en.h ├── main.cpp └── sandbox │ ├── README.md │ ├── execute.cpp │ ├── execute.h │ └── syscall_table.h └── todo.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/Makefile -------------------------------------------------------------------------------- /NEWS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/NEWS.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/README.md -------------------------------------------------------------------------------- /example/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/config -------------------------------------------------------------------------------- /example/data/,SPJ/1.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/1.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/2.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/2.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/3.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/3.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/4.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/4.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/5.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/5.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/config: -------------------------------------------------------------------------------- 1 | time(1) 2 | -------------------------------------------------------------------------------- /example/data/,SPJ/spj.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/data/,SPJ/spj.cpp -------------------------------------------------------------------------------- /example/data/AplusB/0.in: -------------------------------------------------------------------------------- 1 | 8338 2626 -------------------------------------------------------------------------------- /example/data/AplusB/0.out: -------------------------------------------------------------------------------- 1 | 10964 -------------------------------------------------------------------------------- /example/data/AplusB/1.in: -------------------------------------------------------------------------------- 1 | 12586 7804 -------------------------------------------------------------------------------- /example/data/AplusB/1.out: -------------------------------------------------------------------------------- 1 | 20390 -------------------------------------------------------------------------------- /example/data/AplusB/2.in: -------------------------------------------------------------------------------- 1 | 4154 10409 -------------------------------------------------------------------------------- /example/data/AplusB/2.out: -------------------------------------------------------------------------------- 1 | 14563 -------------------------------------------------------------------------------- /example/data/AplusB/3.in: -------------------------------------------------------------------------------- 1 | 3882 8421 -------------------------------------------------------------------------------- /example/data/AplusB/3.out: -------------------------------------------------------------------------------- 1 | 12303 -------------------------------------------------------------------------------- /example/data/AplusB/4.in: -------------------------------------------------------------------------------- 1 | 4623 1735 -------------------------------------------------------------------------------- /example/data/AplusB/4.out: -------------------------------------------------------------------------------- 1 | 6358 -------------------------------------------------------------------------------- /example/data/AplusB/5.in: -------------------------------------------------------------------------------- 1 | 3090 1638 -------------------------------------------------------------------------------- /example/data/AplusB/5.out: -------------------------------------------------------------------------------- 1 | 4728 -------------------------------------------------------------------------------- /example/data/AplusB/6.in: -------------------------------------------------------------------------------- 1 | 111 4640 -------------------------------------------------------------------------------- /example/data/AplusB/6.out: -------------------------------------------------------------------------------- 1 | 4751 -------------------------------------------------------------------------------- /example/data/AplusB/7.in: -------------------------------------------------------------------------------- 1 | 3870 23814 -------------------------------------------------------------------------------- /example/data/AplusB/7.out: -------------------------------------------------------------------------------- 1 | 27684 -------------------------------------------------------------------------------- /example/data/AplusB/8.in: -------------------------------------------------------------------------------- 1 | 273 2587 -------------------------------------------------------------------------------- /example/data/AplusB/8.out: -------------------------------------------------------------------------------- 1 | 2860 -------------------------------------------------------------------------------- /example/data/AplusB/9.in: -------------------------------------------------------------------------------- 1 | 13400 22344 -------------------------------------------------------------------------------- /example/data/AplusB/9.out: -------------------------------------------------------------------------------- 1 | 35744 -------------------------------------------------------------------------------- /example/data/BplusA/0.in: -------------------------------------------------------------------------------- 1 | 10320 3367 -------------------------------------------------------------------------------- /example/data/BplusA/0.out: -------------------------------------------------------------------------------- 1 | 13687 -------------------------------------------------------------------------------- /example/data/BplusA/1.in: -------------------------------------------------------------------------------- 1 | 9950 18963 -------------------------------------------------------------------------------- /example/data/BplusA/1.out: -------------------------------------------------------------------------------- 1 | 28913 -------------------------------------------------------------------------------- /example/data/BplusA/2.in: -------------------------------------------------------------------------------- 1 | 755 10596 -------------------------------------------------------------------------------- /example/data/BplusA/2.out: -------------------------------------------------------------------------------- 1 | 11351 -------------------------------------------------------------------------------- /example/data/BplusA/3.in: -------------------------------------------------------------------------------- 1 | 2908 46 -------------------------------------------------------------------------------- /example/data/BplusA/3.out: -------------------------------------------------------------------------------- 1 | 2954 -------------------------------------------------------------------------------- /example/data/BplusA/4.in: -------------------------------------------------------------------------------- 1 | 11820 355 -------------------------------------------------------------------------------- /example/data/BplusA/4.out: -------------------------------------------------------------------------------- 1 | 12175 -------------------------------------------------------------------------------- /example/data/BplusA/5.in: -------------------------------------------------------------------------------- 1 | 2286 231 -------------------------------------------------------------------------------- /example/data/BplusA/5.out: -------------------------------------------------------------------------------- 1 | 2517 -------------------------------------------------------------------------------- /example/data/BplusA/6.in: -------------------------------------------------------------------------------- 1 | 6837 11563 -------------------------------------------------------------------------------- /example/data/BplusA/6.out: -------------------------------------------------------------------------------- 1 | 18400 -------------------------------------------------------------------------------- /example/data/BplusA/7.in: -------------------------------------------------------------------------------- 1 | 2709 18180 -------------------------------------------------------------------------------- /example/data/BplusA/7.out: -------------------------------------------------------------------------------- 1 | 20889 -------------------------------------------------------------------------------- /example/data/BplusA/8.in: -------------------------------------------------------------------------------- 1 | 618 8186 -------------------------------------------------------------------------------- /example/data/BplusA/8.out: -------------------------------------------------------------------------------- 1 | 8804 -------------------------------------------------------------------------------- /example/data/BplusA/9.in: -------------------------------------------------------------------------------- 1 | 18542 5138 -------------------------------------------------------------------------------- /example/data/BplusA/9.out: -------------------------------------------------------------------------------- 1 | 23680 -------------------------------------------------------------------------------- /example/judge.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/judge.conf -------------------------------------------------------------------------------- /example/judge.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/judge.log -------------------------------------------------------------------------------- /example/result.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/result.csv -------------------------------------------------------------------------------- /example/source/ACer/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/ACer/AplusB.cpp -------------------------------------------------------------------------------- /example/source/ACer/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/ACer/BplusA.cpp -------------------------------------------------------------------------------- /example/source/ACer/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/ACer/SPJtest.c -------------------------------------------------------------------------------- /example/source/CEer/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/CEer/AplusB.cpp -------------------------------------------------------------------------------- /example/source/CEer/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/CEer/BplusA.cpp -------------------------------------------------------------------------------- /example/source/CEer/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/CEer/SPJtest.c -------------------------------------------------------------------------------- /example/source/LGer/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/LGer/AplusB.cpp -------------------------------------------------------------------------------- /example/source/LGer/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/LGer/BplusA.cpp -------------------------------------------------------------------------------- /example/source/LGer/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/LGer/SPJtest.c -------------------------------------------------------------------------------- /example/source/Mengbier/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mengbier/AplusB.cpp -------------------------------------------------------------------------------- /example/source/Mengbier/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mengbier/BplusA.cpp -------------------------------------------------------------------------------- /example/source/Mengbier/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mengbier/SPJtest.c -------------------------------------------------------------------------------- /example/source/Mogician/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mogician/AplusB.cpp -------------------------------------------------------------------------------- /example/source/Mogician/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mogician/BplusA.cpp -------------------------------------------------------------------------------- /example/source/Mogician/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Mogician/SPJtest.c -------------------------------------------------------------------------------- /example/source/Pascal/AplusB.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Pascal/AplusB.pas -------------------------------------------------------------------------------- /example/source/Pascal/BplusA.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Pascal/BplusA.pas -------------------------------------------------------------------------------- /example/source/Pascal/SPJtest.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/Pascal/SPJtest.pas -------------------------------------------------------------------------------- /example/source/REer/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/REer/AplusB.cpp -------------------------------------------------------------------------------- /example/source/REer/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/REer/BplusA.cpp -------------------------------------------------------------------------------- /example/source/REer/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/REer/SPJtest.c -------------------------------------------------------------------------------- /example/source/WAer/AplusB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/WAer/AplusB.cpp -------------------------------------------------------------------------------- /example/source/WAer/BplusA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/WAer/BplusA.cpp -------------------------------------------------------------------------------- /example/source/WAer/SPJtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/example/source/WAer/SPJtest.c -------------------------------------------------------------------------------- /src/Bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Bar.cpp -------------------------------------------------------------------------------- /src/Bar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Bar.h -------------------------------------------------------------------------------- /src/ConfGen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/ConfGen.cpp -------------------------------------------------------------------------------- /src/ConfGen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/ConfGen.h -------------------------------------------------------------------------------- /src/ConfigJudge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/ConfigJudge.cpp -------------------------------------------------------------------------------- /src/ConfigJudge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/ConfigJudge.h -------------------------------------------------------------------------------- /src/Conio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Conio.cpp -------------------------------------------------------------------------------- /src/Conio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Conio.h -------------------------------------------------------------------------------- /src/ConverttoString.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/ConverttoString.h -------------------------------------------------------------------------------- /src/Functions_Linux.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Functions_Linux.cpp -------------------------------------------------------------------------------- /src/Functions_Linux.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Functions_Linux.h -------------------------------------------------------------------------------- /src/JudgeScript.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/JudgeScript.cpp -------------------------------------------------------------------------------- /src/JudgeScript.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/JudgeScript.h -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/MultiCompiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/MultiCompiler.h -------------------------------------------------------------------------------- /src/TrieTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/TrieTree.cpp -------------------------------------------------------------------------------- /src/TrieTree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/TrieTree.h -------------------------------------------------------------------------------- /src/interpreter/AST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/AST.cpp -------------------------------------------------------------------------------- /src/interpreter/AST.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/AST.h -------------------------------------------------------------------------------- /src/interpreter/Any.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/Any.cpp -------------------------------------------------------------------------------- /src/interpreter/Any.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/Any.h -------------------------------------------------------------------------------- /src/interpreter/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/Makefile -------------------------------------------------------------------------------- /src/interpreter/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/Message.cpp -------------------------------------------------------------------------------- /src/interpreter/Message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/Message.h -------------------------------------------------------------------------------- /src/interpreter/STDFunc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/STDFunc.cpp -------------------------------------------------------------------------------- /src/interpreter/STDFunc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/interpreter/STDFunc.h -------------------------------------------------------------------------------- /src/judge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/judge.cpp -------------------------------------------------------------------------------- /src/judge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/judge.h -------------------------------------------------------------------------------- /src/judge_cui.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/judge_cui.cpp -------------------------------------------------------------------------------- /src/lang/language.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/lang/language.h -------------------------------------------------------------------------------- /src/lang/language_en.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/lang/language_en.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/sandbox/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/sandbox/README.md -------------------------------------------------------------------------------- /src/sandbox/execute.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/sandbox/execute.cpp -------------------------------------------------------------------------------- /src/sandbox/execute.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/sandbox/execute.h -------------------------------------------------------------------------------- /src/sandbox/syscall_table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/src/sandbox/syscall_table.h -------------------------------------------------------------------------------- /todo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDFLS/Judge/HEAD/todo.sh --------------------------------------------------------------------------------