/2020TOI-TNFSH

2020臺南一中校內程式設計大賽(TOI校內初選)

Primary LanguageC++

2020臺南一中校內程式設計大賽(TOI校內初選)

Quick Links

ID gen solution tests statement validator config
A. Matching gen solution check tests statement problem validator problem solutions subtasks
B. Route gen solution check tests statement problem validator problem solutions subtasks
C. Puyo gen solution check tests statement problem validator problem solutions subtasks
D. Card gen solution check tests statement problem validator problem solutions subtasks
E. Circle gen solution check tests statement problem validator problem solutions subtasks
F. Swap gen solution check tests statement problem validator problem solutions subtasks

資料夾結構

每題中包含以下目錄和檔案:

  • checker: 檢查輸出與標準答案是否相等的程式
  • gen: 所有產測資相關的程式碼,參見TPS的說明
  • gen/data: 測資產生指令,參見TPS的說明
  • scripts: TPS所使用的腳本
  • solution: 標程及其他解法程式碼(包含所有拿部分分的程式碼),不要跟 validator 搞混
  • solution/check.txt: 所有標程對於所有測資的執行狀況(包含是否WA、TLE)
  • statement: 題本
  • statement/problem.md: (TPS格式)markdown 格式的題目敘述,之後會以 pandoc 輸出成 PDF
  • statement/problem.pdf: (TPS格式)用 tps statement 輸出的 PDF 題目敘述
  • tests: 測試資料
  • tests/mapping: 各子任務所屬測資檔案對應表(tps gen 自動產生),使用於自動匯入CMS時
  • validator: 驗證測資格式是否正確,是否符合範圍限制,各子任務是否符合各自限制,不要跟 solution 搞混
  • problem.json: 題目設定,包含時限及CMS設定
  • solutions.json: 標程設定,用以產生輸出檔的標程參數為 "verdict": "model_solution"
  • subtasks.json: 子任務分數設定