SECRETMI Video Solution

Official editorial: SECRETMI - Editorial
Link: SECRETMI Solution - CodeChef February Lunchtime 2020 - YouTube
Commented Code: CodeChef: Practical coding for everyone


Tum bohot achha kaam karta hai William bhai :slight_smile:


Thanks, you doing a great job!

Glad to see positive feedback!


Do you understand hindi?
William bhai😂

@tmwilliamlin why i’m getting TLE in python but got AC in c++ ?
CodeChef: Practical coding for everyone python code

I commented out the last part, and it’s still getting TLE

I’m not familiar with python, so I don’t know if it’s an incorrect implementation or python is just slow.

As per your explanation , the answer for the 1st test( 1 2 3 1 2 3 ) given in the problem should be
1 3 1 3 i.e. 4
or did I make any mistake in understanding your explanation ?

1 2 3 is not a shortest path from city 1 to city 3. All 6 cities need to be in A.

1 Like

Thank you sir !