QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#345861#8315. Candy Adsucup-team017#WA 3ms18512kbC++143.2kb2024-03-07 16:12:242024-03-07 16:12:24

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 18500kb

input:

2 2 2
1 2 1 1
2 3 2 2
1
1 2

output:

Yes
10

result:

ok accepted

Test #2:

score: 0
Accepted
time: 3ms
memory: 18512kb

input:

3 2 2
1 2 1 1
1 3 1 2
2 3 2 2
3
1 2
2 3
1 3

output:

No

result:

ok accepted

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 18180kb

input:

10 3 3
2 3 7 10
1 3 9 6
3 5 2 1
4 5 8 9
4 7 1 7
3 4 4 4
6 8 9 5
1 3 6 7
2 5 7 4
6 9 9 9
10
9 1
6 2
8 5
9 5
10 4
5 1
3 2
10 9
9 5
8 2

output:

Yes
0010010001

result:

wrong answer both 9 and 1 are not chosen