@admin, I tried to submit a solution for this problem. The first time I clicked submit in non-IDE mode, it said that I am allowed to make one submission every 25 seconds. I waited for around a minute and tried submitting it again. It showed the same error. This happened 4 times before I tried to submit via the IDE mode. Surprisingly, it got submitted successfully.
Then I went to my profile and I saw 4 compilation errors. This was the message:
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status
Why did this occur? Also, is it possible to remove the submissions where I got compilation error (since I didn’t do anything wrong :/)?