[TOC] # TOJ 使用教學 ## 註冊帳號 :::spoiler 1. 搜索 TOJ  2. 前往 [TOJ](https://toj.tfcis.org/oj/)  3. 點擊**Reg | Log**  4. 點擊**註冊**  5. 往下拉並點擊**是**  6. 輸入帳號密碼  7. 點擊**註冊**  ::: ### 手機版 :::spoiler 1. 搜索 TOJ  2. 前往 [TOJ](https://toj.tfcis.org/oj/)  3. 點擊選單  4. 點擊**Reg | Log**  5. 往下滑點擊**註冊**  6. 點擊**是**  7. 往下滑輸入帳號密碼  8. 點擊**註冊**  ::: ## 登入 :::spoiler 1. 搜索 TOJ  2. 前往 [TOJ](https://toj.tfcis.org/oj/)  3. 點擊**Reg | Log**  4. 輸入帳號密碼  ::: ### 手機版 :::spoiler 1. 搜索 TOJ  2. 前往 [TOJ](https://toj.tfcis.org/oj/)  3. 點擊選單  4. 點擊**Reg | Log**  5. 往下滑輸入帳號密碼並點擊**登入**  ::: ## 查看自己的 TOJ ID :::spoiler 1. 前往 [TOJ](https://toj.tfcis.org/oj/)  2. 先登入帳號 3. 點擊自己的帳號 (Leave 旁邊那個)  2. https://toj.tfcis.org/oj/acct/ 後面那個數字就是 TOJ ID  ::: ### 手機版 :::spoiler 1. 搜索 TOJ  2. 前往 [TOJ](https://toj.tfcis.org/oj/)  3. 先登入帳號 4. 點擊選單  5. 點擊自己的帳號 (Leave 下面那個)  6. 點擊網址列  7. https://toj.tfcis.org/oj/acct/ 後面那個數字就是 TOJ ID  ::: ## 查看題目 :::spoiler 1. 前往 [ProblemSet](https://toj.tfcis.org/oj/proset/)  2. 點擊任意題目  ::: ### 手機版 :::spoiler 1. 點擊選單  2. 前往 [ProblemSet](https://toj.tfcis.org/oj/proset/)  3. 往下滑點擊任意題目  ::: <!-- ### 題單 :::spoiler 1. 前往 [ProblemSet](https://tobiichi3227.eu.org:312/oj/proset/)  2. 點擊 **Switch**  3. 點擊 **Goto** 前往題單  4. 點擊 **Info** 查看題單說明   ::: --> ## 上傳程式碼 :::spoiler 1. 點擊任意題目  2. 點擊 **Submit**  3. 複製貼上程式碼  4. 選取使用語言 (預設為 C++)  5. 點擊 **Submit**  6. 等待結果  7. 結果出爐 :confetti_ball:  | Normal State | Description | | ------------ | ----------- | | | | | <font color="#0f0">AC (Accepted)</span> | 輸出符合題目要求,且記憶體與時間使用在題目範圍內 | | <font color="#ed784a">WA (Wrong Answer)</font> | 輸出不符合題目要求,且記憶體與時間使用在題目範圍內 | | <font color="#70649a">TLE (Time Limit Exceeded)</font> | 使用時間超過題目範圍 | | <font color="#e83015">MLE (Memory Limit Exceeded)</font> | 記憶體使用量超過題目範圍 | | <font color="#27fff6">RE (Runtime Error)</font> | 程式退出狀態不為 0 (具體可以看下方的範例) | | <font color="#237ac7">RESIG (Runtime Error Killed By Signal)</font> | 建議參考 [Info](https://toj.tfcsi.org/oj/info/) | <font color="#ffeb00">CE (Compile Error)</font> | 編譯器無法編譯你的程式 | RE 範例程式碼 ```cpp= int main() { return -1; } ``` RESIG 範例程式碼 ```cpp= int main() { int arr[10]; arr[100000] += 1; arr[999] -= 1; return 0; } ``` ::: ### 手機版 :::spoiler 1. 點擊任意題目  2. 點擊 **Submit**  3. 貼上程式碼  4. 選取使用語言 (預設為 C++)  5. 點擊 **Submit**  6. 等待結果  7. 結果出爐 :confetti_ball:  ::: ## 其他功能 ### 簡單積分版 ### 詢問問題或問題回報 ### 排名
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up