Gurugi's blog

By Gurugi, history, 2 years ago, In English

In Codeforces Round 805 Div. 3, My submission of C — Train and Queries got hacked but same solution i again submitted then it got accepted. Why is this happening ?? Kindly anyone assist me. Hacked Solution Accepted Solution

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

| Write comment?
»
2 years ago, # |
  Vote: I like it +1 Vote: I do not like it

If the same solution got accepted it doesn't mean its correct. It just means that nobody tried hacking it.

  • »
    »
    2 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Can i hack my solution after contest ??

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Yes. But only during a hacking phase, which lasts 12 hours after the contest.

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Why are you using unordered_map? Check this out.