QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#376319#2170. Space Wallsucup-team874RE 4476ms5628kbC++175.9kb2024-04-04 04:12:582024-04-04 04:12:59

詳細信息

Test #1:

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

input:

6 3
0 0 0 1 3 3
0 0 0 3 1 3
0 0 0 3 3 1
2 0 0 3 3 3
0 2 0 3 3 3
0 0 2 3 3 3
0 1 1 x+ z+
1 2 1 y- z-
1 1 0 z+ x+

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

6 3
0 0 0 1 3 3
0 0 0 3 1 3
0 0 0 3 3 1
2 0 0 3 3 3
0 2 0 3 3 3
0 0 2 3 3 3
0 1 1 x+ z+
1 2 1 y- z-
1 1 0 z+ x-

output:

ok

result:

ok single line: 'ok'

Test #3:

score: 0
Accepted
time: 2508ms
memory: 5436kb

input:

100 100
0 0 0 1001 997 1
0 0 0 1 997 1007
0 0 0 1001 1 1007
0 2 0 1001 3 1007
0 4 0 1001 5 1007
0 6 0 1001 7 1007
0 8 0 1001 9 1007
0 10 0 1001 11 1007
0 12 0 1001 13 1007
0 14 0 1001 15 1007
0 16 0 1001 17 1007
0 18 0 1001 19 1007
0 20 0 1001 21 1007
0 22 0 1001 23 1007
0 24 0 1001 25 1007
0 26 0 1...

output:

1801

result:

ok single line: '1801'

Test #4:

score: 0
Accepted
time: 4476ms
memory: 5436kb

input:

100 100
0 0 0 999 999 1
999 999 0 1998 1998 1
1998 1998 0 2997 2997 1
2997 2997 0 3996 3996 1
3996 3996 0 4995 4995 1
4995 4995 0 5994 5994 1
5994 5994 0 6993 6993 1
6993 6993 0 7992 7992 1
7992 7992 0 8991 8991 1
8991 8991 0 9990 9990 1
9990 9990 0 10989 10989 1
10989 10989 0 11988 11988 1
11988 11...

output:

199750

result:

ok single line: '199750'

Test #5:

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

input:

100 2
0 0 318585 1000000 1000000 318586
0 0 73277 1000000 1000000 73278
0 0 742493 1000000 1000000 742494
0 0 285149 1000000 1000000 285150
0 0 197706 1000000 1000000 197707
0 0 305168 1000000 1000000 305169
0 0 533430 1000000 1000000 533431
0 0 736391 1000000 1000000 736392
0 0 570675 1000000 10000...

output:

9999857800129751

result:

ok single line: '9999857800129751'

Test #6:

score: 0
Accepted
time: 3151ms
memory: 5620kb

input:

100 100
0 0 318585 1000000 1000000 318586
0 0 73277 1000000 1000000 73278
0 0 742493 1000000 1000000 742494
0 0 285149 1000000 1000000 285150
0 0 197706 1000000 1000000 197707
0 0 305168 1000000 1000000 305169
0 0 533430 1000000 1000000 533431
0 0 736391 1000000 1000000 736392
0 0 570675 1000000 100...

output:

19999950799029055

result:

ok single line: '19999950799029055'

Test #7:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

100 2
0 0 318585 1000000 1000000 318586
0 0 73277 1000000 1000000 73278
0 0 742493 1000000 1000000 742494
0 0 285149 1000000 1000000 285150
0 0 197706 1000000 1000000 197707
0 0 305168 1000000 1000000 305169
0 0 533430 1000000 1000000 533431
0 0 736391 1000000 1000000 736392
0 0 570675 1000000 10000...

output:

19999960599019402

result:

ok single line: '19999960599019402'

Test #8:

score: 0
Accepted
time: 3140ms
memory: 5628kb

input:

100 100
0 0 318585 1000000 1000000 318586
0 0 73277 1000000 1000000 73278
0 0 742493 1000000 1000000 742494
0 0 285149 1000000 1000000 285150
0 0 197706 1000000 1000000 197707
0 0 305168 1000000 1000000 305169
0 0 533430 1000000 1000000 533431
0 0 736391 1000000 1000000 736392
0 0 570675 1000000 100...

output:

99999877

result:

ok single line: '99999877'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

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

output:

ok

result:

ok single line: 'ok'

Test #10:

score: 0
Accepted
time: 1ms
memory: 3900kb

input:

100 100
367 541 994 434 547 1061
6 16 423 12 100 461
140 711 478 190 796 509
281 486 842 314 535 935
232 888 824 303 958 864
157 933 245 230 1026 277
978 884 290 1060 945 295
796 761 151 886 850 199
907 15 785 988 67 838
624 389 442 695 442 475
186 746 427 227 824 472
508 692 543 604 779 643
103 163...

output:

127

result:

ok single line: '127'

Test #11:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

100 100
375 655 664 390 727 768
473 316 216 494 331 251
148 542 861 232 543 887
857 104 298 934 192 334
553 609 14 557 649 130
93 218 955 134 324 1032
824 196 270 864 262 389
551 951 895 581 1012 942
576 915 228 689 1035 300
849 217 89 959 240 172
751 328 836 802 391 893
942 599 149 992 675 182
544 ...

output:

406

result:

ok single line: '406'

Test #12:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

100 100
383 120 982 386 165 1094
941 968 8 1045 1075 148
155 21 244 260 69 365
432 722 105 464 748 184
522 329 853 538 387 957
381 503 313 389 589 424
319 508 898 366 520 924
955 141 640 957 274 646
893 815 670 978 894 749
75 396 89 184 421 149
315 558 244 328 565 361
25 155 108 77 180 247
985 791 6...

output:

172

result:

ok single line: '172'

Test #13:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

100 100
40 390 71 124 465 84
389 729 236 423 732 414
292 259 801 372 374 920
790 612 450 808 674 641
30 31 442 140 118 484
556 572 347 584 764 503
313 910 448 408 1003 496
743 117 301 777 272 384
316 556 530 426 583 657
772 439 143 915 470 271
540 4 27 691 123 144
112 803 792 216 833 917
397 86 562 ...

output:

1512

result:

ok single line: '1512'

Test #14:

score: -100
Runtime Error

input:

100 100
9 231 391 161 236 566
870 178 714 1107 355 911
613 287 268 791 465 515
488 140 275 508 280 321
99 149 31 199 391 218
402 783 210 500 1069 361
983 661 880 1089 699 1130
424 708 675 662 929 775
344 956 761 485 1110 1048
221 427 849 269 653 1134
931 29 98 966 257 320
726 229 663 1018 233 782
63...

output:


result: