Hello Everyone,
In the codeforces round 826,I made a submission for problem F 175642276. It got TLE verdict in the system tests. But when I submitted same code again in the same language, it got accepted 175828592.
Now, can anyone explain why these differences occur and on what factors it depends? How much can be the variation so that I have an idea when to resubmit during the contests.
There have always been fluctuations in a running time of a code, the most I have experienced is +- 300ms. Usually it depends on the load of servers afaik.