Invitation to CodeFusion 20.9

thats kinda long :sweat_smile: Can u give an idea on path on queries now plss?

Give us the outline for the solutions for now if it’s gonna take that much time for writing the editorials.

precompute answer for all nodes … use prefix sum to find the answer of a particular node… then use LCA to answer queries

1 Like

https://www.codechef.com/viewsolution/38011436
Can anyone help me why i am getting wrong answer , i am unable to find it.
Problem Link-CFS2002 Problem - CodeChef

Thanks @sarthakmanna for Screencast of Codefusion 20.9

3 Likes

Can anyone tell the solution of the last problem - Minimum Path Colour - (the Dp one) ?

Official Editorials

2 Likes

Amazing contest and editorial too ! Great efforts :clap:

2 Likes