Medeali's blog

By Medeali, history, 9 months ago, In English

i was trying to solve the edu segtree step 1 C problem but i fail on testcase 21 https://codeforces.net/edu/course/2/lesson/4/1/practice/contest/273169/submission/245570564 i am confident my code is working i still don't know what is the problem can anyone help please.

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

»
9 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Link does not work

»
9 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Try this:

Test data
Expected output