Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 679 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 679 Bytes

CP-AntiCheat

Flagging users who copied solutions in LeetCode and CodeForces contests

Steps

  • Get contest slug. For example weekly-contest-406.
  • Install node and yarn. Install dependencies using npm install or yarn
  • Fetch the ranklist and submissions using node leetcode.js <contest_name_slug>. For example,
node --max-old-space-size=8192 leetcode.js weekly-contest-406
  • The codes will be saved to data/leetcode/<contest_name_slug>/codes/<question_id>/<lang>/<user>:<submission_id>.<lang>
  • The reports will be generated at docs/leetcode/<contest_name_slug>, available to read at https://as1605.github.io/CP-AntiCheat/

Demo

demo