Try   HackMD

TOJ 使用教學

註冊帳號

  1. 搜索 TOJ

    image

  2. 前往 TOJ

    image

  3. 點擊Reg | Log

    image

  4. 點擊註冊

    image

  5. 往下拉並點擊

    image

  6. 輸入帳號密碼

    image

  7. 點擊註冊

    image

手機版

  1. 搜索 TOJ

    image

  2. 前往 TOJ

    image

  3. 點擊選單

    image

  4. 點擊Reg | Log

    image

  5. 往下滑點擊註冊

    image

  6. 點擊

    image

  7. 往下滑輸入帳號密碼

    upload_56e3bd59b2d60c59a435d09ee77841ab

  8. 點擊註冊

    image

登入

  1. 搜索 TOJ

    image

  2. 前往 TOJ

    image

  3. 點擊Reg | Log

    image

  4. 輸入帳號密碼

    image

手機版

  1. 搜索 TOJ

    image

  2. 前往 TOJ

    image

  3. 點擊選單

    image

  4. 點擊Reg | Log

    image

  5. 往下滑輸入帳號密碼並點擊登入

    image

查看自己的 TOJ ID

  1. 前往 TOJ

    image

  2. 先登入帳號

  3. 點擊自己的帳號 (Leave 旁邊那個)

    image

  4. https://toj.tfcis.org/oj/acct/ 後面那個數字就是 TOJ ID

    image

手機版

  1. 搜索 TOJ

    image

  2. 前往 TOJ

    image

  3. 先登入帳號

  4. 點擊選單

    image

  5. 點擊自己的帳號 (Leave 下面那個)

    image

  6. 點擊網址列

    image

  7. https://toj.tfcis.org/oj/acct/ 後面那個數字就是 TOJ ID

    image

查看題目

  1. 前往 ProblemSet

    image

  2. 點擊任意題目

    image

手機版

  1. 點擊選單

    image

  2. 前往 ProblemSet

    image

  3. 往下滑點擊任意題目

    image

上傳程式碼

  1. 點擊任意題目

    image

  2. 點擊 Submit

    image

  3. 複製貼上程式碼

    image

  4. 選取使用語言 (預設為 C++)

    image

  5. 點擊 Submit

    image

  6. 等待結果

    image

  7. 結果出爐 :confetti_ball:

    image

Normal State Description
AC (Accepted) 輸出符合題目要求,且記憶體與時間使用在題目範圍內
WA (Wrong Answer) 輸出不符合題目要求,且記憶體與時間使用在題目範圍內
TLE (Time Limit Exceeded) 使用時間超過題目範圍
MLE (Memory Limit Exceeded) 記憶體使用量超過題目範圍
RE (Runtime Error) 程式退出狀態不為 0 (具體可以看下方的範例)
RESIG (Runtime Error Killed By Signal) 建議參考 Info
CE (Compile Error) 編譯器無法編譯你的程式

RE 範例程式碼

int main() { return -1; }

RESIG 範例程式碼

int main() { int arr[10]; arr[100000] += 1; arr[999] -= 1; return 0; }

手機版

  1. 點擊任意題目

    image

  2. 點擊 Submit

    image

  3. 貼上程式碼

    image

  4. 選取使用語言 (預設為 C++)

    image

  5. 點擊 Submit

    image

  6. 等待結果

    image

  7. 結果出爐 :confetti_ball:

    image

其他功能

簡單積分版

詢問問題或問題回報

排名