Extended B (Educational Codeforces Round 54)!!

Правка en1, от sourav_malo, 2018-11-13 14:45:17

As you know that Educational Codeforces Round 54 (Rated for Div. 2) was held yesterday. Perhaps, you solved 1076B - Divisor Subtraction without any difficulty. Now, I am thinking how to solve this problem if there are no less than 10^5 queries. Please, mention the complexity with approach.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sourav_malo 2018-11-13 14:45:17 288 Initial revision (published)