[Algorithm] Number of LIS

Revision en1, by 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

Tags segment tree, lis, coci

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English nhtrnm 2016-11-28 17:12:53 1071 (published)
en1 English nhtrnm 2016-11-28 16:55:09 330 Initial revision (saved to drafts)