In Last Div 3, I submitted code E twice, and the first accepted solution was considered. I only added an extra modulus operation in the second submission after 2 minutes.
Today, I submitted twice for Div 2-C. I wanted to remove the sort function since it was an unnecessary burden, but I found that unlike in Div 3, the first solution in Div 2 was not considered, got skipped and my rank worsened.
Can you help explain this behavior and the conditions affecting it?