Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×
Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Help with problem "Old Christmas Lights"

Revision en1, by maximaxi, 2016-01-16 22:45:40

Hello everyone, could you provide some ideas for this problem? I think it might use sparse table.

Thanks!

Tags help, problem, sparse table

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English maximaxi 2016-01-16 22:45:40 186 Initial revision (published)