Flagging users who copied solutions in LeetCode and CodeForces contests
- Get contest slug. For example
weekly-contest-406
. - Install
node
andyarn
. Install dependencies usingnpm install
oryarn
- 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/