Debug Help Needed: Centroid Decomposition Weird TLE

Revision en1, by Mr.Whitebird, 2024-04-07 11:03:39

Hello CodeForces, today I tried solving the problem from a recent contest: 1923E - Count Paths

My Solution:

Solution

If you see any problems with the code, please let me know as I can't see the problem. If you don't understand a part of the code, please ask and I will clarify.

Submission: 255437477

Tags centroid decomposition, debug, tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Mr.Whitebird 2024-04-08 17:25:34 91
en1 English Mr.Whitebird 2024-04-07 11:03:39 708 Initial revision (published)