# 出題規範 ## 時程 1. 設立每題難度、解題方向(資料結構、動態規劃、貪心演算法...等) 2. 徵題、開審題會(確認每道題目及整體難度是否合適) 3. 完成試題、測試資料、解答程式、input validator(請使用testlib) 4. 交叉驗題 5. 收到驗題結果回饋,並進行更正 6. 在比賽OJ上進行測試 ![](https://i.imgur.com/J4tB594.png) ## Repo 規範 General ------- Don't push to master. Add Makefile or build.ninja so your binaries can be built easily. * With Makefile, use `make -j` to build everything, and `make clean` to delete built files (listed explicitly in Makefile). * With build.ninja, use `ninja` to build everything, and `ninja -t clean` to delete built files. Problem Description ------------------- Use plain-text formats (e.g. Markdown or TeX) for description.txt. Don't use pdf or (Microsoft) docx. Aside from this, there is no hard requirement on formats. However, if you speak Tex or MathJax, please typeset your numbers/variables/equations in such formats. Validator --------- Ensure your input conforms to the problem description. You should use testlib.h rather than scanf. Solution -------- Describe your solution with comment. Generators ---------- Use testlib.h rather than standard random generators in C++, because they are not portable across implementations ## 試題難度估計 (ACM-ICPC 2018 南京賽區) ![](https://i.imgur.com/5c2vC2z.png) ## 題目類型、難易度、出題者(範例) ![](https://i.imgur.com/guVwgNS.png)