Indentation of my C++ code changes when submitting on Codeforces

Revision en1, by Not-Afraid, 2020-06-08 13:19:35

I use sublime text and in it i use tab_width-4, but when i submit the code on Codeforces it's indentation changes to 8 and makes the code look ugly like this. I tried turning editor mode off while submitting on codeforces and also tried changing tab width while submitting but it didn't helped.
Can anyone help me how can i fix this bcz i hate looking at my own ugly code with messy indentation?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Not-Afraid 2020-06-08 17:39:54 104
en1 English Not-Afraid 2020-06-08 13:19:35 525 Initial revision (published)