1204: V8 and Girlfriends
时间限制:1000 ms 内存限制:128 MB提交:10 解决:4
[ 提交][ 状态][ 讨论版]
题目描述
输入
输出
对于每个输入文件输出一行,若 V8 和妹子在一个社区,则输出 "YES" ,否
则输出 "NO" (不含引号)。
样例输入
2 10 1 2 2 1 3 2 1 4 2 1 5 2 2 3 2 2 4 2 2 5 2 3 4 2 3 5 2 4 5 2 5 6 1 6 7 2 6 8 2 6 9 2 6 10 2 7 8 2 7 9 2 7 10 2 8 9 2 8 10 2 9 10 2
样例输出
NO
提示
来源
한국어中文فارسیEnglishไทย
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024Xidian Programming Contest Online JudgeTEAM
GPL2.02003-2014HUSTOJ ProjectTEAM
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024Xidian Programming Contest Online JudgeTEAM
GPL2.02003-2014HUSTOJ ProjectTEAM