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
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
https://www.codechef.com/viewsolution/30023789
I’m not familiar with python, so I don’t know if it’s an incorrect implementation or python is just slow.
@tmwilliamlin
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.
Thank you sir !