「TOJ」:修訂間差異
		
		
		
		
		
		跳至導覽
		跳至搜尋
		
				
		
		
	
無編輯摘要  | 
				|||
| 行 8: | 行 8: | ||
== Special Judge ==  | 
  == Special Judge ==  | 
||
將[https://github.com/TFcis/Problem-setting-tools/blob/master/TOJ-problem-example/conf.json conf.json]的diff改成  | 
  將[https://github.com/TFcis/Problem-setting-tools/blob/master/TOJ-problem-example/conf.json conf.json]中的check從diff改成ioredir,及設定metadata如下。  | 
||
<syntaxhighlight lang="JSON">{  | 
|||
    "metadata": {  | 
|||
        "redir_test": {  | 
|||
            "pipeout": 1,  | 
|||
            "testin": 0,  | 
|||
            "testout": -1,  | 
|||
            "pipein": -1  | 
|||
        },  | 
|||
        "redir_check": {  | 
|||
            "ansin": 2,  | 
|||
            "testin": -1,  | 
|||
            "pipeout": 0,  | 
|||
            "pipein": -1  | 
|||
        }  | 
|||
    }  | 
|||
}</syntaxhighlight>  | 
|||
參考 https://hackmd.io/s/BkHdt57I  | 
|||
== 參見 ==  | 
  == 參見 ==  | 
||
於 2021年9月11日 (六) 00:11 的修訂
Special Judge
將conf.json中的check從diff改成ioredir,及設定metadata如下。
{
    "metadata": {
        "redir_test": {
            "pipeout": 1,
            "testin": 0,
            "testout": -1,
            "pipein": -1
        },
        "redir_check": {
            "ansin": 2,
            "testin": -1,
            "pipeout": 0,
            "pipein": -1
        }
    }
}
參考 https://hackmd.io/s/BkHdt57I
參見
- TOJ API:API文檔