英文翻译7

news/2024/10/24 2:00:14/

OpenJudge - 07:Shortest Path

描述

There is a graph with N nodes. Given the length of each edge between the nodes. Find the shortest path from S to E.

输入

First line: three positive integer number N (N <= 100), S (S <= N), E(E <= N).
Next N lines: the i-th line contains N non-negative integers (<= 100), indicating the length of edge from the i-th node to any nodes.

输出

One line contains several integers, indicating the indexes of node in the shortest path from S to E.

翻译:

有一个带有N个节点的图。给出每个节点之间的边的长度,找到从S到E的最短路径。

输入:

第一行:三个正整数N,S,E。

接下来的N行:第i行有N个非负整数,表明从第i个节点到任意节点的距离。

输出:

一行包括几个整数,表明从S到E的最短节点路径。


http://www.ppmy.cn/news/765313.html

相关文章

1.21英文题面翻译

描述 Acm, a treasure-explorer, is exploring again. This time he is in a special maze, in which there are some doors (at most 5 doors, represented by A, B, C, D, E respectively). In order to find the treasure, Acm may need to open doors. However, to open a…

英文翻译26

OpenJudge - 31:Candies 描述 There are N bags. Each bag has some candies. You can take some of the bags. the total number of candies in these bags should be a multiple of K because you want to divide the candies equally between K friends. How many candies…

专利常用语英文翻译

专利翻译词汇手册 是否将当前网页翻译成中文 网 页 翻 译 中英对照 关闭 专利轩 1月10日 小伙伴们经手海外专利申请的案子时&#xff0c;经常遇到翻译术语难题&#xff0c;翻译软件往往不能给出贴切的专业翻译&#xff0c;有很 多新手甚至得阅读大量…

腾讯翻译君在线翻译怎么翻译整个文件_7款好用的英文翻译软件推荐

如今&#xff0c;不管是工作还是学习&#xff0c;很多时候我们都要接触英文&#xff0c;可能是为了使用一款小众的软件&#xff0c;也可能是一篇好文章&#xff0c;也可能是一部视频&#xff0c;所以手里常备一些好用的翻译软件是很有必要的&#xff0c;在本文中来和大家推荐一…

中文如何翻译成英文?手机中英文一键翻译超简单

今天跟大家分享的主题是——如何将中文翻译成英文&#xff0c;中英文一键翻译的简单方法。 我们都知道&#xff0c;中文翻译成英文或将中英文进行互译&#xff0c;前提条件都是英文要好&#xff0c;但语言学习是一件很需要耐心和时间的事&#xff0c;在学习的过程中&#xff0c…

英文翻译15

OpenJudge - 15:Sum is K 描述 Given a sequence of N numbers. Find different numbers A and B in the sequence so that the sum of A and B equals to K. 输入 First line: two positive integers N (N < 1000) and K (K < 1000000). Second line: N positive in…

英文翻译自然数

题目编号 &#xff1a;Exp04-Enhance03&#xff0c;freshman-1006 题目名称&#xff1a;英文翻译自然数 题目描述&#xff1a;按常规英文输出1000以内自然数的英文读法。 输入&#xff1a;每个测试输入包含 1 个测试用例&#xff0c;给出正整数 n&#xff08;0< n <…

英文翻译18

OpenJudge - 18:Coins 描述 There are N kinds of coins. Each kind of coins has a value V and a weight W. Tony wants to go traveling. Unfortunately, he can only carry coins of which the total weight is not greater than K. How much total value of coins can h…