web_developer's blog

By web_developer, history, 15 months ago, In English

Hello codeforces! I want help with this Codeforces Round #497 (Div. 1) A problem...Even after looking at the editorial I didn't understand why it's answer is n-x. Please help me understand.....Thanks!!

Upd: I don't care about downvotes, I just need an answer.

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

»
15 months ago, # |
  Vote: I like it +1 Vote: I do not like it

75730848 This can help you...

  • »
    »
    15 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Surely It did help,I completely understood your idea and it's very easy to understand code, but I still don't know How it works....Please explain if you have time..