While solving this problem 1359C - Смешиваем воду . I observed a strange thing.
The same code is giving different outputs on different compilers. WA- 146913145 AC- 146915566
I found the test case for which the compilers gave different outputs.
Test Case
for this test case, c++17(64bit) is giving 499979 as output. but c++17 is giving 499981 as output which is as same as correct output.
I want to say that my outputs are compared to the outputs of the authors' solution which was run on c++17. But my solutions should be compared to the outputs which were run on c++17(64bit).