QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#253494#4940. Token Distanceucup-team026WA 171ms161132kbC++233.5kb2023-11-17 02:40:132023-11-17 02:40:13

详细

Test #1:

score: 100
Accepted
time: 171ms
memory: 161132kb

input:

5 7
1 1 1 10 1
2 1 3
2 1 5
1 5 4
1 3 7
2 2 4
2 2 5
2 4 5

output:

YES
NO
NO
YES
YES

result:

ok 5 lines

Test #2:

score: -100
Wrong Answer
time: 154ms
memory: 160752kb

input:

2 1
0 1000000000
2 1 2

output:

NO

result:

wrong answer 1st lines differ - expected: 'YES', found: 'NO'