SPOJ — MAXCHILDSUM

Revision en1, by terserah, 2017-08-26 16:50:17

Hello, can anybody give me hints for this problem? I think heavy light decomposition could handle the type-1 query, but how about the type-2 query?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English terserah 2017-08-26 16:50:17 210 Initial revision (published)