
问题 H: 珂朵莉、威廉和第二兽
时间限制: 2000 ms 内存限制: 256 MB提交: 36 解决: 13
[提交][状态][讨论版]
题目描述
输入

输出
样例输入
7
1 2 3 4 5 6 7
3
1 1 7
1 3 5
2 1 7
样例输出
637
提示
한국어
中文
فارسی
English
ไทย
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024 Xidian Programming Contest Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024 Xidian Programming Contest Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM