Medeali's blog

By Medeali, history, 10 months ago, In English

i was trying to solve the edu segtree step 1 C problem but i fail on testcase 21 https://mirror.codeforces.com/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

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

Link does not work

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

Try this:

Test data
Expected output