I submited solution to 493C and it says WA on test n.12, but the exactly same code produces good output on my computer, how is that possible? Here what I get on my computer
1 1 1
1 3 1 1 6:8
Process returned 0 (0x0) execution time : 2.257 s Press any key to continue.
But on tester I get 8:12 and it is WA. Here is my code http://pastebin.com/GDR7ALAt