QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#345199#6113. Window ArrangementLoverInTimeRE 4ms4372kbC++202.5kb2024-03-06 15:42:592024-03-06 15:42:59

詳細信息

Test #1:

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

input:

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

output:

178

result:

ok 1 number(s): "178"

Test #2:

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

input:

4 3
2 2 9
9 8 4
8 4 5
7 5 2
0 1 0
1 0 1
0 0 1
0 1 0

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: 0
Accepted
time: 2ms
memory: 4316kb

input:

20 20
755 344 600 54 516 407 657 429 565 185 90 323 449 464 872 138 404 500 196 111
666 191 824 98 505 538 949 801 266 861 984 957 396 851 496 147 225 451 874 380
536 200 581 397 305 514 351 416 228 763 566 442 618 131 527 651 954 757 226 129
286 608 819 477 891 22 19 747 565 704 198 703 736 8 835 1...

output:

14347279

result:

ok 1 number(s): "14347279"

Test #4:

score: 0
Accepted
time: 4ms
memory: 4372kb

input:

20 20
883 996 857 428 770 375 536 417 721 664 530 67 347 193 683 55 126 251 918 160
415 776 141 481 362 746 171 662 682 27 506 739 391 283 605 747 955 822 408 490
124 123 362 556 302 894 162 660 846 126 487 389 607 952 719 885 545 378 273 741
797 417 859 458 922 875 804 871 60 542 43 785 751 519 710...

output:

17832787

result:

ok 1 number(s): "17832787"

Test #5:

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

input:

20 20
12 841 115 905 831 152 815 405 876 550 673 811 141 138 710 972 745 513 936 400
355 554 651 160 219 658 688 419 699 897 925 305 978 420 418 451 685 897 645 705
225 533 655 10 491 681 974 904 568 889 305 737 997 772 423 119 432 703 424 545
204 34 194 840 954 241 589 291 659 676 400 571 470 735 4...

output:

10140249

result:

ok 1 number(s): "10140249"

Test #6:

score: -100
Runtime Error

input:

30 30
797 774 295 888 552 163 89 965 38 658 757 17 679 751 765 379 981 930 470 284 953 287 129 763 332 975 658 131 71 469
628 464 611 554 436 790 498 346 226 538 108 781 747 246 219 39 481 241 736 136 929 949 939 276 948 960 351 611 327 147
19 290 259 790 418 305 325 634 12 940 359 61 939 794 989 48...

output:


result: