Problem updated (please see Output section)
A company aimed at becoming the first company that solved the MDT problem for factories and restaurants. The MDT problem is easy to explain in an undirected connected graph. Find k vertex-disjoint (excluding 1, n that will appear in every path) simple paths from 1 to n. If the maximum length of these paths is denoted by M, then minimize Mk.
Input format
Output format
Verdict, scoring, and test generation plan
You can find all the information here.
Score=48116.
Note that choosing k=1 and paths={{10}} will obtain a less score (7027) which is better.