0_0_38365999_18290.cpp:1:1: error: stray '\327' in program
最短路算法
^
0_0_38365999_18290.cpp:1:1: error: stray '\356' in program
0_0_38365999_18290.cpp:1:1: error: stray '\266' in program
0_0_38365999_18290.cpp:1:1: error: stray '\314' in program
0_0_38365999_18290.cpp:1:1: error: stray '\302' in program
0_0_38365999_18290.cpp:1:1: error: stray '\267' in program
0_0_38365999_18290.cpp:1:1: error: stray '\313' in program
0_0_38365999_18290.cpp:1:1: error: stray '\343' in program
0_0_38365999_18290.cpp:1:1: error: stray '\267' in program
0_0_38365999_18290.cpp:1:1: error: stray '\250' in program
0_0_38365999_18290.cpp:2:1: error: stray '\264' in program
此处有spfa和dj,但是没有floyd
^
0_0_38365999_18290.cpp:2:1: error: stray '\313' in program
0_0_38365999_18290.cpp:2:1: error: stray '\264' in program
0_0_38365999_18290.cpp:2:1: error: stray '\246' in program
0_0_38365999_18290.cpp:2:1: error: stray '\323' in program
0_0_38365999_18290.cpp:2:1: error: stray '\320' in program
0_0_38365999_18290.cpp:2:1: error: stray '\272' in program
0_0_38365999_18290.cpp:2:1: error: stray '\315' in program
0_0_38365999_18290.cpp:2:1: error: stray '\243' in program
0_0_38365999_18290.cpp:2:1: error: stray '\254' in program
0_0_38365999_18290.cpp:2:1: error: stray '\265' in program
0_0_38365999_18290.cpp:2:1: error: stray '\253' in program
0_0_38365999_18290.cpp:2:1: error: stray '\312' in program
0_0_38365999_18290.cpp:2:1: error: stray '\307' in program
0_0_38365999_18290.cpp:2:1: error: stray '\303' in program
0_0_38365999_18290.cpp:2:1: error: stray '\273' in program
0_0_38365999_18290.cpp:2:1: error: stray '\323' in program
0_0_38365999_18290.cpp:2:1: error: stray '\320' in program
0_0_38365999_18290.cpp:4:1: error: stray '\262' in program
测试网站P2387
^
0_0_38365999_18290.cpp:4:1: error: stray '\342' in program
0_0_38365999_18290.cpp:4:1: error: stray '\312' in program
0_0_38365999_18290.cpp:4:1: error: stray '\324' in program
0_0_38365999_18290.cpp:4:1: error: stray '\315' in program
0_0_38365999_18290.cpp:4:1: error: stray '\370' in program
0_0_38365999_18290.cpp:4:1: error: stray '\325' in program
0_0_38365999_18290.cpp:4:1: error: stray '\276' in program
0_0_38365999_18290.cpp:5:1: error: stray '\314' in program
题目翻译
^
0_0_38365999_18290.cpp:5:1: error: stray '\342' in program
0_0_38365999_18290.cpp:5:1: error: stray '\304' in program
0_0_38365999_18290.cpp:5:1: error: stray '\277' in program
0_0_38365999_18290.cpp:5:1: error: stray '\267' in program
0_0_38365999_18290.cpp:5:1: error: stray '\255' in program
0_0_38365999_18290.cpp:5:1: error: stray '\322' in program
0_0_38365999_18290.cpp:5:1: error: stray '\353' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
John的农田里有N个地标,从1到N编号。Bessie要从N号走到1号,求她要走的最短路的长度。
^
0_0_38365999_18290.cpp:6:1: error: stray '\304' in program
0_0_38365999_18290.cpp:6:1: error: stray '\305' in program
0_0_38365999_18290.cpp:6:1: error: stray '\251' in program
0_0_38365999_18290.cpp:6:1: error: stray '\314' in program
0_0_38365999_18290.cpp:6:1: error: stray '\357' in program
0_0_38365999_18290.cpp:6:1: error: stray '\300' in program
0_0_38365999_18290.cpp:6:1: error: stray '\357' in program
0_0_38365999_18290.cpp:6:1: error: stray '\323' in program
0_0_38365999_18290.cpp:6:1: error: stray '\320' in program
0_0_38365999_18290.cpp:6:1: error: stray '\270' in program
0_0_38365999_18290.cpp:6:1: error: stray '\366' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
0_0_38365999_18290.cpp:6:1: error: stray '\330' in program
0_0_38365999_18290.cpp:6:1: error: stray '\261' in program
0_0_38365999_18290.cpp:6:1: error: stray '\352' in program
0_0_38365999_18290.cpp:6:1: error: stray '\243' in program
0_0_38365999_18290.cpp:6:1: error: stray '\254' in program
0_0_38365999_18290.cpp:6:1: error: stray '\264' in program
0_0_38365999_18290.cpp:6:1: error: stray '\323' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
0_0_38365999_18290.cpp:6:1: error: stray '\275' in program
0_0_38365999_18290.cpp:6:1: error: stray '\261' in program
0_0_38365999_18290.cpp:6:1: error: stray '\340' in program
0_0_38365999_18290.cpp:6:1: error: stray '\272' in program
0_0_38365999_18290.cpp:6:1: error: stray '\305' in program
0_0_38365999_18290.cpp:6:1: error: stray '\241' in program
0_0_38365999_18290.cpp:6:1: error: stray '\243' in program
0_0_38365999_18290.cpp:6:1: error: stray '\322' in program
0_0_38365999_18290.cpp:6:1: error: stray '\252' in program
0_0_38365999_18290.cpp:6:1: error: stray '\264' in program
0_0_38365999_18290.cpp:6:1: error: stray '\323' in program
0_0_38365999_18290.cpp:6:1: error: stray '\272' in program
0_0_38365999_18290.cpp:6:1: error: stray '\305' in program
0_0_38365999_18290.cpp:6:1: error: stray '\327' in program
0_0_38365999_18290.cpp:6:1: error: stray '\337' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
0_0_38365999_18290.cpp:6:1: error: stray '\275' in program
0_0_38365999_18290.cpp:6:1: error: stray '\272' in program
0_0_38365999_18290.cpp:6:1: error: stray '\305' in program
0_0_38365999_18290.cpp:6:1: error: stray '\243' in program
0_0_38365999_18290.cpp:6:1: error: stray '\254' in program
0_0_38365999_18290.cpp:6:1: error: stray '\307' in program
0_0_38365999_18290.cpp:6:1: error: stray '\363' in program
0_0_38365999_18290.cpp:6:1: error: stray '\313' in program
0_0_38365999_18290.cpp:6:1: error: stray '\375' in program
0_0_38365999_18290.cpp:6:1: error: stray '\322' in program
0_0_38365999_18290.cpp:6:1: error: stray '\252' in program
0_0_38365999_18290.cpp:6:1: error: stray '\327' in program
0_0_38365999_18290.cpp:6:1: error: stray '\337' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
0_0_38365999_18290.cpp:6:1: error: stray '\304' in program
0_0_38365999_18290.cpp:6:1: error: stray '\327' in program
0_0_38365999_18290.cpp:6:1: error: stray '\356' in program
0_0_38365999_18290.cpp:6:1: error: stray '\266' in program
0_0_38365999_18290.cpp:6:1: error: stray '\314' in program
0_0_38365999_18290.cpp:6:1: error: stray '\302' in program
0_0_38365999_18290.cpp:6:1: error: stray '\267' in program
0_0_38365999_18290.cpp:6:1: error: stray '\265' in program
0_0_38365999_18290.cpp:6:1: error: stray '\304' in program
0_0_38365999_18290.cpp:6:1: error: stray '\263' in program
0_0_38365999_18290.cpp:6:1: error: stray '\244' in program
0_0_38365999_18290.cpp:6:1: error: stray '\266' in program
0_0_38365999_18290.cpp:6:1: error: stray '\310' in program
0_0_38365999_18290.cpp:6:1: error: stray '\241' in program
0_0_38365999_18290.cpp:6:1: error: stray '\243' in program
0_0_38365999_18290.cpp:7:1: error: stray '\314' in program
题目分析
^
0_0_38365999_18290.cpp:7:1: error: stray '\342' in program
0_0_38365999_18290.cpp:7:1: error: stray '\304' in program
0_0_38365999_18290.cpp:7:1: error: stray '\277' in program
0_0_38365999_18290.cpp:7:1: error: stray '\267' in program
0_0_38365999_18290.cpp:7:1: error: stray '\326' in program
0_0_38365999_18290.cpp:7:1: error: stray '\316' in program
0_0_38365999_18290.cpp:7:1: error: stray '\366' in program
0_0_38365999_18290.cpp:8:1: error: stray '\325' in program
这道题是求最短路长度,这里用的算法是Dijkstra,套模板就行,题目有点坑,两点间的路未必只有一条,所以输入需要处理一下。具体实现见代码。
^
0_0_38365999_18290.cpp:8:1: error: stray '\342' in program
0_0_38365999_18290.cpp:8:1: error: stray '\265' in program
0_0_38365999_18290.cpp:8:1: error: stray '\300' in program
0_0_38365999_18290.cpp:8:1: error: stray '\314' in program
0_0_38365999_18290.cpp:8:1: error: stray '\342' in program
0_0_38365999_18290.cpp:8:1: error: stray '\312' in program
0_0_38365999_18290.cpp:8:1: error: stray '\307' in program
0_0_38365999_18290.cpp:8:1: error: stray '\307' in program
0_0_38365999_18290.cpp:8:1: error: stray '\363' in program
0_0_38365999_18290.cpp:8:1: error: stray '\327' in program
0_0_38365999_18290.cpp:8:1: error: stray '\356' in program
0_0_38365999_18290.cpp:8:1: error: stray '\266' in program
0_0_38365999_18290.cpp:8:1: error: stray '\314' in program
0_0_38365999_18290.cpp:8:1: error: stray '\302' in program
0_0_38365999_18290.cpp:8:1: error: stray '\267' in program
0_0_38365999_18290.cpp:8:1: error: stray '\263' in program
0_0_38365999_18290.cpp:8:1: error: stray '\244' in program
0_0_38365999_18290.cpp:8:1: error: stray '\266' in program
0_0_38365999_18290.cpp:8:1: error: stray '\310' in program
0_0_38365999_18290.cpp:8:1: error: stray '\243' in program
0_0_38365999_18290.cpp:8:1: error: stray '\254' in program
0_0_38365999_18290.cpp:8:1: error: stray '\325' in program
0_0_38365999_18290.cpp:8:1: error: stray '\342' in program
0_0_38365999_18290.cpp:8:1: error: stray '\300' in program
0_0_38365999_18290.cpp:8:1: error: stray '\357' in program
0_0_38365999_18290.cpp:8:1: error: stray '\323' in program
0_0_38365999_18290.cpp:8:1: error: stray '
|