Hi everyone!
I have a small idea that could save all of us some nerves.
You probably know the feeling: you submit a solution, the queue is long, you wait a minute, and then you get "Compilation error". Turns out you forgot to change the language or submitted the wrong file. Painful, especially at the end of a round.
What if compilation was checked right when you submit, before the queue? If it doesn't compile, you see the error right away and the submission goes nowhere. If it compiles, everything works as usual.
The pros seem pretty obvious:
- you don't wait for a verdict that is useless anyway;
- the queue doesn't get filled with submissions that will never run.
Yes, there is no penalty for CE, but contest time still matters.
Maybe I'm missing something and this is hard to do technically. Curious what you and MikeMirzayanov think.








This will just make it worse, because each submission has to get checked twice and there will have to be a second queue that checks each submission's compilation.