QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#523659#6608. Descent of DragonsZhangYiDeWA 0ms9968kbC++202.5kb2024-08-18 15:54:042024-08-18 15:54:04

詳細信息

Test #1:

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

input:

5 5
1 3 5 0
1 1 4 1
1 1 5 2
2 2 2
2 4 5

output:

0
3

result:

ok 2 number(s): "0 3"

Test #2:

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

input:

1000 1000
2 234 913
1 693 735 47
1 702 959 94
2 273 286
1 814 896 47
1 560 566 15
1 46 699 97
2 494 527
1 721 879 68
1 87 437 26
1 163 938 15
1 816 912 58
2 284 670
2 713 763
1 49 542 13
1 669 874 41
2 795 855
1 601 962 93
1 413 747 50
1 528 710 73
2 255 435
1 329 871 86
1 24 236 48
1 22 48 41
1 29 ...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
2
2
0
2
0
0
0
0
2
0
0
2
2
2
2
2
2
2
0
0
0
0
2
0
0
0
3
3
3
0
0
0
1
1
1
1
2
2
2
2
2
1
1
2
2
3
3
1
2
1
3
2
2
3
3
1
3
2
1
1
2
3
3
2
3
2
1
3
0
2
1
3
3
2
1
1
2
2
3
2
1
1
3
3
1
2
0
2
1
3
2
3
2
2
3
3
2
2
1
1
3
2
3
4
4
0
3
2
3
2
3
4
4
...

result:

wrong answer 30th numbers differ - expected: '1', found: '0'