qwerty0399's blog

By qwerty0399, history, 6 years ago, In English

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

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

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

your code produces 10 while the correct answer is 11.

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

Please explain the logic that you followed.