QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110442#4917. 中奖率slime#9 219ms42056kbC++202.4kb2023-06-02 13:17:012024-05-31 13:54:06

詳細信息

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

input:

93594 19
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:


result:


Subtask #2:

score: 9
Accepted

Test #6:

score: 9
Accepted
time: 114ms
memory: 40740kb

input:

10 19
0000000000
2 241
1 405
1 927
1 669
1 734
1 349
2 493
1 828
1 385
1 855
2 761
1 63
1 288
1 754
2 91
1 863
2 805
2 1000
1 1000

output:

241
405
927
669
734
349
493
828
385
855
761
63
288
754
91
863
805
1000
1000

result:

ok 19 tokens

Test #7:

score: 9
Accepted
time: 100ms
memory: 40172kb

input:

10 20
1111111111
2 112
2 917
1 364
1 898
1 37
2 456
2 839
1 414
1 13
1 858
2 49
2 653
2 502
1 562
1 138
2 559
2 778
2 494
2 1000
1 1000

output:

112
917
364
898
37
456
839
414
13
858
49
653
502
562
138
559
778
494
1000
1000

result:

ok 20 tokens

Test #8:

score: 9
Accepted
time: 179ms
memory: 40804kb

input:

10 20
1000000001
1 490
1 300
2 143
2 151
2 665
1 539
2 412
2 160
1 377
1 2
2 730
2 724
1 99
1 242
1 824
1 448
2 171
1 355
2 1000
1 1000

output:

1951
1191
73
40
inf
1612
139
inf
1501
2
inf
725
292
722
3291
893
44
354
inf
3991

result:

ok 20 tokens

Test #9:

score: 9
Accepted
time: 204ms
memory: 41020kb

input:

10 19
1101011111
2 84
2 777
1 278
1 396
1 795
2 487
1 102
1 408
2 502
1 786
1 419
1 431
1 722
1 826
2 66
1 545
2 334
2 1000
1 1000

output:

inf
inf
1842
2632
5292
inf
672
2712
77
5232
2782
2862
4802
2751
inf
3622
inf
inf
3331

result:

ok 19 tokens

Test #10:

score: 9
Accepted
time: 211ms
memory: 40340kb

input:

10 19
0101001111
1 718
1 477
2 994
2 205
2 432
2 650
1 358
2 497
2 22
1 549
1 506
2 856
2 564
1 891
2 2
1 970
1 211
2 1000
1 1000

output:

7180
4770
inf
inf
inf
65
3580
inf
inf
5490
5060
inf
inf
8910
inf
9700
2110
100
10000

result:

ok 19 tokens

Test #11:

score: 9
Accepted
time: 214ms
memory: 42056kb

input:

10 20
1000000000
2 219
2 205
1 392
2 750
2 415
1 768
1 997
2 833
1 354
1 565
2 106
2 552
2 336
1 865
1 319
1 343
1 576
2 945
2 1000
1 1000

output:

982
185
435
inf
374
1193
886
538
237
377
119
314
378
577
424
533
1151
851
inf
667

result:

ok 20 tokens

Test #12:

score: 9
Accepted
time: 135ms
memory: 41636kb

input:

8 20
11110110
2 831
1 724
2 234
2 180
2 86
1 419
2 862
2 587
2 393
1 169
2 606
1 370
1 555
1 498
1 222
1 321
1 142
2 698
2 1000
1 1000

output:

555
1444
234
92
86
627
862
392
785
85
606
370
831
498
222
161
142
698
inf
1499

result:

ok 20 tokens

Test #13:

score: 9
Accepted
time: 219ms
memory: 41992kb

input:

10 20
1011111111
1 204
2 208
2 915
1 290
2 331
2 426
1 685
1 744
2 374
2 28
2 832
2 72
1 264
2 93
1 791
1 995
2 687
2 715
2 1000
1 1000

output:

2031
inf
inf
2891
34
inf
6841
7431
inf
inf
inf
inf
2631
inf
7901
9941
inf
inf
inf
9991

result:

ok 20 tokens

Test #14:

score: 9
Accepted
time: 201ms
memory: 40756kb

input:

10 19
0100100010
1 316
2 321
2 229
1 947
1 734
1 656
2 42
2 467
2 729
2 414
2 146
2 766
2 514
2 218
1 757
2 279
1 980
2 1000
1 1000

output:

842
inf
115
3155
2445
2185
16
inf
365
inf
109
574
inf
inf
2515
140
1959
inf
1999

result:

ok 19 tokens

Test #15:

score: 9
Accepted
time: 184ms
memory: 40284kb

input:

10 20
1000110010
2 132
2 288
1 716
2 939
2 146
1 354
2 313
1 214
2 291
1 710
2 109
1 142
1 266
1 339
1 180
1 259
2 717
1 17
2 1000
1 1000

output:

132
inf
2146
470
49
1061
inf
641
98
1419
55
142
796
1016
359
776
717
17
inf
1999

result:

ok 20 tokens

Subtask #3:

score: 0
Time Limit Exceeded

Dependency #2:

100%
Accepted

Test #16:

score: 0
Time Limit Exceeded

input:

96819 19
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:


result:


Subtask #4:

score: 0
Time Limit Exceeded

Test #26:

score: 0
Time Limit Exceeded

input:

91666 20
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:


result:


Subtask #5:

score: 0
Time Limit Exceeded

Test #36:

score: 0
Time Limit Exceeded

input:

98506 19
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:


result:


Subtask #6:

score: 0
Memory Limit Exceeded

Dependency #2:

100%
Accepted

Test #41:

score: 0
Memory Limit Exceeded

input:

190 19
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2 3030536584264275991656446184192931032142342202853788773124469117132936126944321526393387980895665026...

output:


result:


Subtask #7:

score: 0
Skipped

Dependency #1:

0%