qwerty0399's blog

By qwerty0399, history, 4 years ago, In English

Not able to find the error. Here is the my sublission link: https://mirror.codeforces.com/contest/1427/submission/95129328

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

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it
7 3
WLLLWWL

your code produces 10 while the correct answer is 11.

»
4 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Please explain the logic that you followed.