Is it really necessary that output of our program is exact match to given output.txt file? In our case because second test case is shorter that task is executed faster than the first one so we get that second test case is written first on the console window.
Question about output
For more complete information about compiler optimizations, see our Optimization Notice.



