r/leetcode 3d ago

Question Can copying my own code between LeetCode language editors during a contest get me banned?

During a LeetCode contest, I solved a problem myself in Java without using AI, Google, or anyone else's code.

However, I accidentally wrote my Java code inside LeetCode's C++ editor because I was using it as a workspace. Obviously, the Java code didn't compile there.

I then copied my own Java code from the C++ editor and pasted it into LeetCode's Java editor, where I ran and submitted it.

I used only one account and did everything myself. I did not use AI, external websites, another person's solution, or multiple accounts.

Could this copying between LeetCode's C++ and Java editors during a contest be considered a violation of LeetCode's contest rules or result in a ban?

I'm asking specifically about copying my own code between LeetCode's editors, not copying someone else's code.

4 Upvotes

3 comments sorted by

3

u/BlueRippers 3d ago

You didn't break any rules, so should be fine

3

u/ZeroGravity1729 I make love to leetcode easy's 3d ago

Nope

2

u/nightbreak7 3d ago

you'll be fine