delta_4d's blog

By delta_4d, 8 years ago, In English

For CF223C, I wrote a solution with segment tree, but the same code got different results with different C++ compiler.

7338858 in g++ got RTE, but the same code 7338855 in MSC++ got AC.

why does this happen, is it possible that g++ has some problems or the code has some serious flaws that g++ find out but MSC++ doesn't.

Read more »

Tags g++
 
 
 
 
  • Vote: I like it
  • +13
  • Vote: I do not like it