≮坏蛋吧≯【求助】谁英语好给咱翻译个东西 谢谢..
坏蛋吧
全部回复
仅看楼主
level 6
sogaoAccepted 楼主
DescriptionBessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home too quickly, because she likes the scenery along the way. She has decided to take the second-shortest rather than the shortest path. She knows there must be some second-shortest path.The countryside consists of R (1 ≤ R ≤ 100,000) bidirectional roads, each linking two of the N (1 ≤ N ≤ 5000) intersections, conveniently numbered 1..N. Bessie starts at intersection 1, and her friend (the destination) is at intersection N.The second-shortest path may share roads with any of the shortest paths, and it may backtrack i.e., use the same road or intersection more than once. The second-shortest path is the shortest path whose length is longer than the shortest path(s) (i.e., if two or more shortest paths exist, the second-shortest path is the one whose length is longer than those but no longer than any other path).InputLine 1: Two space-separated integers: N and R Lines 2..R+1: Each line contains three space-separated integers: A, B, and D that describe a road that connects intersections A and B and has length D (1 ≤ D ≤ 5000)OutputLine 1: The length of the second shortest path between node 1 and node NSample Input4 41 2 1002 4 2002 3 2503 4 100Sample Output450HintTwo routes: 1 -> 2 -> 4 (length 100+200=300) and 1 -> 2 -> 3 -> 4 (length 100+250+100=450)
2008年10月16日 11点10分 1
level 6
大哥你累不累?今晚没英语自习,要不我给你问老师去
2008年10月16日 11点10分 2
level 6
sogaoAccepted 楼主
好啊。..
2008年10月16日 11点10分 3
level 6
sogaoAccepted 楼主
喂 来个帮忙的啊。..
2008年10月16日 12点10分 4
level 5
下面的乱七八糟的 上面 马马虎虎
2008年10月16日 12点10分 5
level 7
说明 贝茜已进入一个小农场,有时享有返回访问是她最好的朋友。她并不想给她老家太快了,因为她喜欢的风景前进的道路。她已决定采取的第二最短的,而不是最短路径。她知道,必须有某种第二最短路径。 农村组成的R ( 1 ≤ R ≤ 100000 )双向道路,每两个连接的N ( 1 ≤ ñ ≤ 5000 )的十字路口,方便编号1 ..北贝茜始于交叉口1 ,和她的朋友(目的地)在十字路口北 第二最短路径可以分享道路的任何最短路径,而且可以回溯即使用相同的道路或相交超过一次。第二最短路径是最短路径,其长度超过了最短路径(星期日) (即,如果两个或两个以上的最短路径存在,第二最短路径之一是其长度是长于但不再比任何另一条道路) 。 输入 1号线:两个空格分隔的整数: N和R 线路2 .. R +1 :每行包含三个空格分隔的整数:有A , B ,和D描述的道路交叉口,连接A和B的长度D类( 1 ≤ D ≤ 5000 ) 输出 1号线:长度的第二次之间的最短路径节点1和节点ñ 样品输入 4月4日 二月一日100 4月2日200 3月2日250 4月3日100 范例输出 450 提示 两条路线: 1 -> “第2 - >” 4 (长度10 0+2 00=3 0 0)和1 - > “第2 - > ”第3 - > “ 4 (长度1 0 0 +2 50+ 100= 450)
2008年10月16日 12点10分 6
level 6
sogaoAccepted 楼主
没关系 Input 上面的能给个翻译就行下面的我理解
2008年10月16日 12点10分 7
level 7
https://tieba.baidu.com/f?kz=490297969盖楼去呵,`、
2008年10月16日 12点10分 8
level 6
sogaoAccepted 楼主
谢谢 6楼..我刚看到你的翻译...不过这道题 我已经Accepted了
2008年10月16日 12点10分 9
level 6
sogaoAccepted 楼主
6楼..你那个翻译是翻译软件或网页的吧....很猥琐啊....还没有我自己理解的好....
2008年10月16日 12点10分 10
level 0
楼主怎么感觉你真象个SB呢?自己行的话又干嘛发上来求助啊?就算人家用软件或网页翻译出来也算是为你这个题思考过了,你竟然说出这话。
2008年10月16日 12点10分 11
level 6
sogaoAccepted 楼主
楼上 你个SB我一开始没看懂 后来看懂了行不行草 你个弱智
2008年10月16日 12点10分 12
level 5
想你这样的LZ也太哪个了把.人家帮你就行了 说那么难听的话干吗?
2008年10月16日 13点10分 13
level 5
楼主SB鉴定完毕
2008年10月16日 13点10分 14
1