Hint: You may notice that the loop variable changes in order and can serve as an indication of how we enter the number. Therefore, you can save the value of the loop variable when a certain condition
min
max
[
sort
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking