Problem Description
There are m people in n cities, and they all want to attend the party which hold by zz. They set out at the same time, and they all will choose the best way they think, but due to someone take a ride, someone drive, and someone take a taxi, they have different speed. Can you find out who will get zz's mysterious present? The first one get the party will get the present . If there are several people get at the same time, the one who stay in the city which is farther from the city where is zz at begin will get the present. If there are several people get at the same time and the distance from the city he is at begin to the city where zz is, the one who has the larger number will get the present.

Input
The first line: three integers n, m and k. m is the total number of the people, and n is the total number of cities, and k is the number of the way.(0<n<=300, 0<m<=n, 0<k<5000)
The second line to the (k+1)th line: three integers a, b and c. There is a way from a to b, and the length of the way is c.(0<a,b<=n, 0<c<=100)
The (k+2)th line: one integer p(0<p<=n), p is the city where zz is.
The (k+3)th line: m integers. the ith people is at the place p[i] at begin.(0<p[i]<=n)
The (k+4)th line: m integers. the speed of the ith people is speed[i];(0<speed[i]<=100)
All the ways are directed.

Output
For each case, output the one who get the present in one line. If no one can get the present, output "No one".

Sample Input
3 1 3
1 2 2
1 3 3
2 3 1
3
2
1

Sample Output
1

-

-
Java语言字符串的输出，有没有办法按照字符串的顺序的相反的顺序输出
-
java的io的问题 使用java输出文本到文本文件，但是打开文件没有得到输出的内容
-

-

-
delphi 实时获取命令行/控制台程序的输出
-

-

-

-

-
java数据库查询 如果没有提示查无此人 有则输出 该怎么写
-

-
Python 中如何将多行数据的文件转成一列数据的文件？
-

-
c语言怎么让double输出没有后面的0
-
Python2在sublime text 3下的第一个print无法输出中文
-
Linux批量运行没有输出文件的问题
-
c#中输出txt文件换行符问题
-

GitHub开源的10个超棒后台管理面板

100 个网络基础知识普及，看完成半个网络高手

VS CODE远程开发入门

C语言实现推箱子游戏

Java 的每个基本类型都对应了一个包装类型，比如说 int 的包装类型为 Integer，double 的包装类型为 Double。基本类型和包装类型的区别主要有以下 4 点。
8000字干货：那些很厉害的人是怎么构建知识体系的

Android完整知识体系路线(菜鸟-资深-大牛必进之路)

【公众号回复 “1024”，免费领取程序员赚钱实操经验】今天我章鱼猫给大家带来的这个开源项目，估计很多喜欢听音乐的朋友都会喜欢。就目前来讲，很多人对这款音乐 App 都抱...
C语言这么厉害，它自身又是用什么语言写的？