prasannads's blog

By prasannads, history, 3 years ago, In English

I am unable to understand why answer in my system and codeforces are coming different. https://codeforces.net/contest/1526/submission/117654929

I am getting output as 5. But in Participant's output its showing as 12.

Please help.

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

| Write comment?
»
3 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

initialize the variable 'cc'.

Spoiler