[Algorithm] Number of LIS

Правка en1, от nhtrnm, 2016-11-28 16:55:09

The other day in COCI Round #3 I didn't solve the problem Zoltan. Turns out the problem involved counting the # of LIS (longest increasing subsequence) in the array. I never wrote this before and wanted to ask Codeforces community to verify that what I want to do is correct.

My idea if the following

Теги segment tree, lis, coci

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский nhtrnm 2016-11-28 17:12:53 1071 (published)
en1 Английский nhtrnm 2016-11-28 16:55:09 330 Initial revision (saved to drafts)