• 2023-02-07HDU 5418 Victor and World 状压DP的TSP问题
     VictorandWorldTimeLimit:4000/2000MS(Java/Others)    MemoryLimit:262144/131072K(Java/Others)TotalSubmission(s):1855    AcceptedSubmission
  • 2022-12-02HDU-5418 Floyd + DP
    题目传送门时间复杂度:\(O(2^n\cdotn^2)\)注意:输入尽量用scanf输入,输入需要记录两个路径的最小值代码:#include<iostream>#include<queue>#include<vector>#
  • 2022-11-29hdu 5418 Victor and World
    hdu5418VictorandWorldTimeLimit:4000/2000MS(Java/Others)    MemoryLimit:262144/131072K(Java/Others)链接:http://acm.hdu.edu.cn/showproblem.php?pi