Describe the bug
When submission is unsuccessful the error message displayed is always You have submitted exactly the same code before even though the actual cause might be different.
Steps To Reproduce it
Create a file very large (e.g. 100KB) that exceed Codeforces file size limit
Submit it normally through cpbooster
The error message above is shown
That is hard coded regardless of the actual error message:
cpbooster version: latest
Describe the bug When submission is unsuccessful the error message displayed is always
You have submitted exactly the same code before
even though the actual cause might be different.Steps To Reproduce it
That is hard coded regardless of the actual error message:
https://github.com/searleser97/cpbooster/blob/bd69a3c4278dcb3a8d8f655b052354b7e5eee934/app/src/Submit/OnlineJudgeFactory/Codeforces.ts#L46
Expected behavior The correct error message is shown