fzx1's blog

By fzx1, history, 21 month(s) ago, In English

It is an interesting thing that the brute force passed the problem D https://mirror.codeforces.com/contest/1808/submission/199698146

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

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it +30 Vote: I do not like it

How to hack it?

»
21 month(s) ago, # |
  Vote: I like it -8 Vote: I do not like it

Because of the first two lines

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

I belief that the code will reach to time limit at least in the case N=2*10^5, k=10^5. It seems like the test didn't strong enough :D

Actually, I see the code was hacked.