dijkstra,346WA,输出文件部分和测试点不同

P4779 【模板】单源最短路径(标准版)

``` // 1. printf("%d ",Alenth[i]); // 应为 //printf("%lld",Alenth[i]); // 2. int thisloc=Ahead[topp]; while(true){ /*代码段*/ } // 应为 // int thisloc=Ahead[topp]; // if(thisloc==-1) // continue; // while(true){ // /*代码段*/ // } ```
by ENJOuYang @ 2024-03-31 12:18:24


%lld后面少了个空格
by ENJOuYang @ 2024-03-31 12:20:06


@[ENJOuYang](/user/798144) 谢大佬orz
by Nail9 @ 2024-04-02 20:37:52


|