QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#31465#1774. Customs Controlslarryzhong#WA 1ms6524kbC++14952b2022-05-08 11:38:232022-05-08 11:38:24

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 6324kb

input:

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

output:

NSSSN

result:

ok accepted

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 6524kb

input:

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

output:

NNNNNSSSSS

result:

wrong answer an alternating shortest path existed