Problem with solutions: are they bugs?

Revision en1, by c-and-j, 2016-07-19 11:18:41

I have just submitted my solutions to 691D - Swaps in Permutation from Educational Codeforces Round 14. They are 19226396, 19226642 and 19226815.

Test #2 is

1 1
1
1 1

I ran my solutions on my machine, compiled with standard command line (g++.exe -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -lm -s -x c++ -Wl,--stack=268435456 -O2 -o D.exe D.cpp). They all output 1. However, they all got RTE on Codeforces online judging system.

Is there a bug on Codeforces or are my solutions wrong?

Tags codeforces, 691

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English c-and-j 2016-07-19 11:18:41 588 Initial revision (published)