QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#638810#7031. Supreme CommandZhaoZiLongWA 429ms24244kbC++205.4kb2024-10-13 16:59:292024-10-13 16:59:31

详细

Test #1:

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

input:

1
4 9
3 4
2 1
4 2
1 3
L 2
? 1
? 2
R 1
? 1
? 3
!
U 3
!

output:

3 2
2 1
3 3
4 2
0
3

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 429ms
memory: 24244kb

input:

500
2000 2000
492 502
1394 1025
980 1484
1135 599
760 242
575 1393
833 341
1364 453
1692 1515
1303 7
1429 1519
887 86
205 1874
1483 1797
649 1677
1717 298
416 1673
1696 896
1998 1154
638 1725
667 96
1467 1788
1438 759
285 1987
1985 736
95 140
596 1076
1089 238
1212 247
1287 1705
891 1237
941 622
930...

output:

170 1229
0
1610 1081
0
616 1509
0
1419 1109
0
1584 1103
0
459 1193
0
1891 1713
0
806 187
0
115 81
0
1035 378
0
1673 276
0
529 1976
0
1380 639
0
397 1375
0
144 806
0
579 495
0
1817 1065
0
369 828
0
1226 790
0
740 1967
0
37 311
0
1466 391
0
160 898
0
97 1023
0
1086 754
0
670 1932
0
831 909
0
1964 255
...

result:

wrong answer 71936th lines differ - expected: '0', found: '1'