Help with the problem

Revision ru2, by F112, 2025-02-26 11:16:53

Can anyone help with this problem : https://codeforces.me/problemset/problem/242/E

I'm trying to use Segment tree. but there is Presentation Error

This is my code : https://ideone.com/FiMb2o

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru2 Russian F112 2025-02-26 11:16:53 21
ru1 Russian F112 2025-02-26 11:13:36 211 Первая редакция (опубликовано)