📄 temp1
字号:
16,17c16< int dist; /* 1/distance from the start node */< int real_dist; /* real distance from the start node */---> int dist; /* distance from the start node */41d39< int fake_len;153d150< private static final int MAXINT = 1000000000;188a186> {189a188,191> //copy the distance information to the last node> //from the source tree> ((GANode)lastNode.getUserObject()).dist = gaNode_Source.dist;> }241,242c243< st.nextToken(); edge.fake_len = (int)((double)MAXINT/(double)st.nval);< edge.len = (int)st.nval;---> st.nextToken(); edge.len = (int)st.nval;247,249c248< v[i].prev = -1;< v[i].dist = -1;< v[i].real_dist = -1;---> v[i].prev = v[i].dist = -1;313c312< v[i].prev = v[i].dist = v[i].real_dist = -1;---> v[i].prev = v[i].dist = -1;326d324< v[u].real_dist = 0;362c360< System.out.print(v[j].name + ":"+v[j].real_dist+" ");---> System.out.print(v[j].name + ":"+v[j].dist+" ");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -