Help Needed in this problem!

Правка en2, от Madara__Uchiha__, 2021-04-24 12:54:36

Problem:- https://codeforces.me/edu/course/2/lesson/4/1/practice/contest/273169/problem/C

My submission:-https://pastebin.com/GGeGnBdT or https://ideone.com/VNbvP0

It is giving WA on test case 14 again and again.

Plz can anyone tell where is bug in my code.Any help would be appreciated.

Теги #data structure, #segment-trees

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Madara__Uchiha__ 2021-04-24 12:54:36 45
en1 Английский Madara__Uchiha__ 2021-04-24 12:48:21 296 Initial revision (published)