UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#84445#793. 序列lily2004604001ms3280kbC++1.1kb2019-11-06 19:46:352019-11-06 19:46:37

answer


详细

小提示:点击横条可展开更详细的信息

Subtask #1:

score: 30
Accepted

Test #1:

score: 30
Accepted
time: 6ms
memory: 1216kb

input:

100 269 4
485 603 637 728 140
989 957 446 369 839
483 32 502 31 92
291 806 345 79 177
386 7 753 980 ...

output:

2248

result:

ok 1 number(s): "2248"

Test #2:

score: 0
Accepted
time: 7ms
memory: 1216kb

input:

100 251 3
904 440 329 173
990 227 852 178
829 878 180 511
22 30 372 84
345 852 385 637
856 888 513 2...

output:

1816

result:

ok 1 number(s): "1816"

Test #3:

score: 0
Accepted
time: 11ms
memory: 1212kb

input:

100 251 6
522 61 724 608 328 20 89
346 459 312 580 773 688 94
320 775 229 309 792 589 18
662 731 478...

output:

2877

result:

ok 1 number(s): "2877"

Test #4:

score: 0
Accepted
time: 449ms
memory: 2624kb

input:

100 18247 3
647 435 255 181
906 980 214 351
229 736 473 615
676 215 463 901
838 118 445 869
56 661 7...

output:

584

result:

ok 1 number(s): "584"

Test #5:

score: 0
Accepted
time: 658ms
memory: 2904kb

input:

100 21874 4
528 942 877 177 81
819 84 219 540 504
561 762 906 232 822
492 274 896 296 62
424 297 447...

output:

887

result:

ok 1 number(s): "887"

Test #6:

score: 0
Accepted
time: 249ms
memory: 2632kb

input:

100 18364 1
682 577
299 473
519 379
847 779
52 268
392 422
892 916
912 372
532 678
148 531
964 554
1...

output:

50

result:

ok 1 number(s): "50"

Test #7:

score: 0
Accepted
time: 107ms
memory: 1816kb

input:

100 7889 1
688 196
946 806
886 987
865 205
828 596
531 34
117 573
831 13
330 9
762 715
697 891
134 3...

output:

84

result:

ok 1 number(s): "84"

Test #8:

score: 0
Accepted
time: 240ms
memory: 1656kb

input:

100 5887 6
476 184 839 470 986 298 5
411 831 100 730 84 627 47
176 650 368 620 678 892 85
768 367 52...

output:

1587

result:

ok 1 number(s): "1587"

Test #9:

score: 0
Accepted
time: 218ms
memory: 1600kb

input:

100 5214 6
825 34 569 14 110 304 119
904 136 434 49 390 626 45
142 586 28 276 505 48 67
345 757 975 ...

output:

1649

result:

ok 1 number(s): "1649"

Test #10:

score: 0
Accepted
time: 937ms
memory: 3224kb

input:

100 25934 5
29 995 679 185 852 361
380 858 503 117 863 312
747 217 240 70 90 194
257 992 707 548 121...

output:

1183

result:

ok 1 number(s): "1183"

Subtask #2:

score: 30
Accepted

Test #11:

score: 30
Accepted
time: 23ms
memory: 1220kb

input:

100000 299 4
504 637 676 447 537
120 358 775 645 76
989 61 532 75 321
499 298 338 819 318
761 692 15...

output:

4599403340480

result:

ok 1 number(s): "4599403340480"

Test #12:

score: 0
Accepted
time: 18ms
memory: 1220kb

input:

100000 276 3
18 668 598 388
488 54 158 73
813 183 478 945
80 172 91 485
781 759 488 854
7 512 707 63...

output:

11403478807

result:

ok 1 number(s): "11403478807"

Test #13:

score: 0
Accepted
time: 26ms
memory: 1216kb

input:

100000 284 5
719 407 495 110 761 418
453 118 927 245 377 485
714 302 223 524 23 884
714 509 8 33 488...

output:

1656880331769949

result:

ok 1 number(s): "1656880331769949"

Test #14:

score: 0
Accepted
time: 27ms
memory: 1220kb

input:

100000 259 6
606 692 403 750 394 126 15
5 474 823 616 33 681 5
427 491 403 560 642 574 37
32 431 642...

output:

191819984443923782

result:

ok 1 number(s): "191819984443923782"

Test #15:

score: 0
Accepted
time: 10ms
memory: 1216kb

input:

100000 265 1
295 667
136 760
645 555
912 181
91 186
238 867
912 25
325 862
166 44
209 188
700 449
54...

output:

36527

result:

ok 1 number(s): "36527"

Test #16:

score: 0
Accepted
time: 29ms
memory: 1216kb

input:

100000 264 7
359 777 550 281 562 645 15 0
627 844 833 802 671 603 92 0
583 928 234 856 739 715 26 0
...

output:

130852828531227209

result:

ok 1 number(s): "130852828531227209"

Test #17:

score: 0
Accepted
time: 15ms
memory: 1220kb

input:

100000 285 2
930 175 567
706 939 504
698 887 600
609 166 837
980 270 954
245 191 292
760 970 631
961...

output:

38604932

result:

ok 1 number(s): "38604932"

Test #18:

score: 0
Accepted
time: 10ms
memory: 1220kb

input:

100000 266 1
516 668
20 345
520 563
920 410
162 652
965 96
310 511
428 10
832 739
909 529
24 430
196...

output:

72369

result:

ok 1 number(s): "72369"

Test #19:

score: 0
Accepted
time: 28ms
memory: 1220kb

input:

100000 280 6
394 757 685 322 340 501 119
356 438 270 974 785 607 112
887 622 924 755 817 447 80
233 ...

output:

100458743381595284

result:

ok 1 number(s): "100458743381595284"

Test #20:

score: 0
Accepted
time: 10ms
memory: 1220kb

input:

100000 264 2
475 954 960
764 205 354
695 469 707
46 992 362
205 342 859
765 509 299
265 713 13
860 1...

output:

36759130

result:

ok 1 number(s): "36759130"

Subtask #3:

score: 0
Time Limit Exceeded

Test #21:

score: 20
Accepted
time: 9ms
memory: 1220kb

input:

100000 259 1
328 241
589 414
132 769
134 904
554 18
152 748
912 631
338 977
316 622
726 293
588 622
...

output:

69009

result:

ok 1 number(s): "69009"

Test #22:

score: 0
Accepted
time: 10ms
memory: 1220kb

input:

100000 282 1
832 191
53 215
689 815
219 388
470 446
444 670
729 662
227 127
158 384
531 319
394 401
...

output:

39094

result:

ok 1 number(s): "39094"

Test #23:

score: 0
Accepted
time: 11ms
memory: 1216kb

input:

100000 299 1
268 158
838 48
3 903
548 129
94 387
655 925
512 744
415 326
513 951
709 617
532 595
99 ...

output:

39287

result:

ok 1 number(s): "39287"

Test #24:

score: 0
Accepted
time: 893ms
memory: 3280kb

input:

100000 26673 1
665 5
340 785
536 776
65 77
720 122
591 779
172 515
902 735
407 973
841 635
475 713
2...

output:

1061

result:

ok 1 number(s): "1061"

Test #25:

score: -20
Time Limit Exceeded

input:

100000 29649 1
759 637
796 813
81 803
442 475
646 337
758 345
440 816
355 266
485 301
141 685
604 17...

output:


result:


Subtask #4:

score: 0
Skipped