aahmedsamy's blog

By aahmedsamy, history, 9 years ago, In English

i am using "GNU C++ 14" for this submitted code but I got that weird verdict in testcase 2, ( I tested it locally and online here and the result is correct ) so what is that weird verdict??

  • Vote: I like it
  • +3
  • Vote: I do not like it

| Write comment?
»
9 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Part of the error says "Error: attempt to subscript container with out-of-bounds index 11, but container only holds 11 elements." It is possible that Ideone doesn't have out-of-bounds errors so it works on Ideone but not on Codeforces.