---
# System prepended metadata

title: MasterCode Rules
tags: [MasterCode]

---

# Scoring System
- **Rule 1**: The participants who solved more questions, passed the corresponding test cases, will have a higher ranking than those who solved less number of questions.
- **Rule 2**: For those participants solved the same number of questions, the ranking follows completion time principles, which is divided into three time intervals. Participants who complete all tasks in the first interval will have a higher ranking than those who finish in the second interval, and so on.
  - First Interval: 0 - 30 minutes
  - Second Interval: 30 - 45 minutes
  - Third Interval: 45 - 60 minutes
- **Rule 3**: If participants complete the same number of questions within the same time interval, the system evaluates the result by using the following formula for further ranking.
  - **Question 1**
    - Passed all Functional Test Cases: 3 marks
    - Passed Algorithm Time Complexity Test - bonus 1 mark
  - **Question 2**
    - Passed all Functional Test Cases: 4 marks
    - Passed Algorithm Time Complexity Test - bonus 1 mark
  - **Question 3**
    - Functional Test Cases all pass: 5 marks
    - Passed Algorithm Time Complexity Test - bonus 1 mark
  - **In other words**, if all the test cases (including the run time test case) are passed, you will be scored a total of **15** marks.
- **Rule 4**: If participants complete the same number of problems within the same time period, and their scores are still identical after calculating the algorithm's runtime, the system will compare the total number of passed test cases; those with a greater number will receive a higher ranking.
- **Rule 5**: If the total number of passed test cases are still same after calculating the final score. The participant with the earlier submission time will receive a higher ranking.
- **Rule 6**: You are permitted to submit once to your reassigned GitHub repository during the completion. Only your first submission will be considered if multiple submissions are detected.
- Venturenix LAB retains the right to provide an explanation for the final ranking.

# Competition Guidelines
- Refrain from utilizing any mobile or electronic devices apart from your laptop throughout the competition.
- Do not seek assistance through any softwares via Internet, such as web browser, GPT, or search engine (but not limited to) during the competition.
- Integrated Development Environment (IDE) is allowed for coding purpose. Except JDK, other extensions/ plugins in IDE is basically not allowed to use during the competition.
- You can use Terminal for testing and submission purposes.
- Avoid engaging in conversations or discussions with others, even after submitting your answers during the competition.
- You can submit once after the competition commences.
- You are permitted to employ git commands or any software for cloning or pushing your answers to the designated repository.
- Venturenix LAB reserves the right to disqualify participants from the coding competition if any dishonest behavior is detected.

# 賽制與計分準則
- **規則 1**：完成更多問題（該問題相關的測試案例均被驗證通過）的參賽者相對於只能解答較少問題的參賽者，將獲得更好的排名。
- **規則 2**：對於那些完成相同數量問題的參賽者，排名遵循完成時間原則。比賽時間分為三個時間區間，在第一個區間內完成的參賽者將比在第二個區間內完成相同數量問題的參賽者排名更高，依此類推。
    - 第一區間：0 - 30 分鐘
    - 第二區間：30 - 45 分鐘
    - 第三區間：45 - 60 分鐘
- **規則 3**：如果參賽者在相同的時間區間內完成相同數量的問題，系統將使用以下公式進行最終排名評估。
    - **問題 1**
        - 通過全部功能測試案例：3 分
        - 程序運行時間：額外加1 分
    - **問題 2**
        - 通過全部功能測試案例：4 分
        - 程序運行時間：額外加1 分
    - **問題 3**
        - 通過全部功能測試案例：5 分
        - 程序運行時間：額外加1 分
    - **換句話說**，如果所有問題的測試案例(包括Run Time測試案例)均獲通過，您將獲得總共**15**分。
- **規則 4**：如果參賽者在相同的時間區間內完成相同數量的問題，並且在計算程序運行時間後，得分仍然相同，系統將比較所有題目獲通過的測試案例數量，較多者獲得較好排名。
- **規則 5**：如果在計算最終分數後通過的測試案例數量仍然相同，那麼較早的代碼提交時間將獲得較高的排名。
- **規則 6**：在比賽期間，您可以將作品提交一次到被指定的GitHub存儲庫中。如果檢測到多次的代碼提交，只有第一次提交將被考慮。
- Venturenix LAB 保留對最終排名提供解釋的權利。

# 比賽守則
- 在比賽期間，除了您的筆記型電腦外，請勿使用任何手機或電子裝置。
- 在比賽其間，請勿透過互聯網，使用任何通訊軟件，網頁瀏覽器、GPT、AI軟件或搜尋引擎(包括但不限于)尋求協助。
- 在比赛期間，你可以使用整合開發環境(IDE)解決編程問題，但除了JDK或Java相關插件外，基本上不可使用IDE中的其他插件。
- 你可以使用終端機或IDE進行測試和提交代碼。
- 在比賽期間，請勿與他人交談或討論。即使在提交答案後也要避免。
- 在比賽開始後，您可以提交一次代碼。
- 在比賽期間，您可以使用git命令或任何軟件將代碼克隆或提交到指定的代碼存儲庫。
- 如果檢測到任何不誠實行為，Venturenix LAB保留取消參賽者資格的權利。