Compare commits
	
		
			No commits in common. "master" and "compile/success" have entirely different histories.
		
	
	
		
			master
			...
			compile/su
		
	
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| joj3_result.json | ||||
							
								
								
									
										6
									
								
								a.cc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								a.cc
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| #include <iostream> | ||||
| int main() { | ||||
|   int a, b; | ||||
|   std::cin >> a >> b; | ||||
|   std::cout << a + b << '\n'; | ||||
| } | ||||
							
								
								
									
										1
									
								
								cases/1.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cases/1.in
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| 1 1 | ||||
							
								
								
									
										1
									
								
								cases/1.out
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cases/1.out
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| 2 | ||||
							
								
								
									
										1
									
								
								cases/2.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cases/2.in
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| 1024 2048 | ||||
							
								
								
									
										1
									
								
								cases/2.out
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cases/2.out
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| 3072 | ||||
							
								
								
									
										125
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,125 @@ | |||
| { | ||||
|   "stages": [ | ||||
|     { | ||||
|       "name": "compile", | ||||
|       "executor": { | ||||
|         "name": "sandbox", | ||||
|         "with": { | ||||
|           "default": { | ||||
|             "args": [ | ||||
|               "clang++", | ||||
|               "a.cc", | ||||
|               "-o", | ||||
|               "a" | ||||
|             ], | ||||
|             "env": [ | ||||
|               "PATH=/usr/bin:/bin" | ||||
|             ], | ||||
|             "cpuLimit": 10000000000, | ||||
|             "memoryLimit": 209715200, | ||||
|             "procLimit": 50, | ||||
|             "copyInDir": ".", | ||||
|             "copyOut": [ | ||||
|               "stdout", | ||||
|               "stderr" | ||||
|             ], | ||||
|             "copyOutCached": [ | ||||
|               "a" | ||||
|             ], | ||||
|             "stdin": { | ||||
|               "content": "" | ||||
|             }, | ||||
|             "stdout": { | ||||
|               "name": "stdout", | ||||
|               "max": 4096 | ||||
|             }, | ||||
|             "stderr": { | ||||
|               "name": "stderr", | ||||
|               "max": 4096 | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "parsers": [ | ||||
|         { | ||||
|           "name": "result-status" | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "name": "run", | ||||
|       "executor": { | ||||
|         "name": "sandbox", | ||||
|         "with": { | ||||
|           "default": { | ||||
|             "args": [ | ||||
|               "./a" | ||||
|             ], | ||||
|             "env": [ | ||||
|               "PATH=/usr/bin:/bin" | ||||
|             ], | ||||
|             "cpuLimit": 1000000000, | ||||
|             "memoryLimit": 104857600, | ||||
|             "procLimit": 50, | ||||
|             "copyOut": [ | ||||
|               "stdout", | ||||
|               "stderr" | ||||
|             ], | ||||
|             "stdout": { | ||||
|               "name": "stdout", | ||||
|               "max": 4096 | ||||
|             }, | ||||
|             "stderr": { | ||||
|               "name": "stderr", | ||||
|               "max": 4096 | ||||
|             }, | ||||
|             "copyInCached": { | ||||
|               "a": "a" | ||||
|             } | ||||
|           }, | ||||
|           "cases": [ | ||||
|             { | ||||
|               "stdin": { | ||||
|                 "src": "./cases/1.in" | ||||
|               } | ||||
|             }, | ||||
|             { | ||||
|               "stdin": { | ||||
|                 "src": "./cases/2.in" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|         } | ||||
|       }, | ||||
|       "parsers": [ | ||||
|         { | ||||
|           "name": "diff", | ||||
|           "with": { | ||||
|             "cases": [ | ||||
|               { | ||||
|                 "outputs": [ | ||||
|                   { | ||||
|                     "score": 100, | ||||
|                     "fileName": "stdout", | ||||
|                     "answerPath": "./cases/1.out", | ||||
|                     "ignoreWhitespace": true | ||||
|                   } | ||||
|                 ] | ||||
|               }, | ||||
|               { | ||||
|                 "outputs": [ | ||||
|                   { | ||||
|                     "score": 100, | ||||
|                     "fileName": "stdout", | ||||
|                     "answerPath": "./cases/2.out", | ||||
|                     "ignoreWhitespace": true | ||||
|                   } | ||||
|                 ] | ||||
|               } | ||||
|             ] | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| [{"name":"compile","results":[{"score":0,"comment":""}],"force_quit":false},{"name":"run","results":[{"score":100,"comment":"🥳Passed!\n"},{"score":100,"comment":"🥳Passed!\n"}],"force_quit":false}] | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user