searleser97 / cpbooster

Competitive Programming Booster
GNU General Public License v3.0
151 stars 31 forks source link

Submitting not working. Saying "You have submitted exactly the same code before inappropriately" #113

Closed isym444 closed 6 months ago

isym444 commented 6 months ago

cpbooster version: 2.6.5 OS: MacOS (M1) Sonoma 14.3 Using Vim? : no Using Neovim? : no Terminal Name: iterm

Bug description: Submitting not working. Saying "You have submitted exactly the same code before inappropriately". I have tried both with cpb s A_Equality.cpp (as my file has the url commented at the top) as well as manually writing the url. I have tried with integrated vscode terminal and external terminal.

Steps To Reproduce it

  1. cpb clone a problem from codeforces
  2. Ensure logged in to codeforces/setup completed for cpbooster
  3. Write a solution to the problem
  4. Type cpb t A_Equality.cpp and observe test cases passing
  5. Type cpb s A_Equality.cpp
  6. See terminal output saying submitting... You have submitted exactly the same code before Error: File was not submitted despite this being the first time this code has been submitted

Expected behavior Code should be submitted to codeforces

Screenshots See below

image image

isym444 commented 6 months ago

Found the problem was I had too many characters and invalid characters in my submission. I suppose the issue is now of an incorrect error message but submit is working so I will close this.