rating_Infi's blog

By rating_Infi, history, 5 years ago, In English

Can someone help me why unordered_map is out of control in Problem C?

Failed in test case 4 with GNU C++17 submission

Failed in test case 5 with GNU C++14 submission

Passed with Clang++17 Diagnostics submission

Finally passed by changing unordered_map to map submission

I wasted 1hr debugging this during the contest!!

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it