struct node{ int v, step; node(){}; node(int a, int sp){ v = a; step = sp; } bool operator < (const node& a)cnost{ return step > a.step } }
看到的一段代码从第三行就看不懂了(悲)求dalao解读一下,说一下这是在干什么(这段代码是Dijkstra)