QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#155614#7114. Best Interactive Playerucup-team1089AC ✓21ms9456kbPython3208b2023-09-01 21:24:432023-09-01 21:24:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 10ms
memory: 9348kb

input:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1

output:

? 904444121
? 844884296
? 728108809
? 646917504
? 403445050
? 79843971
? 40231501
? 31285252
? 29164293
? 12887433
? 5674353
? 3291644
? 1883502
? 935151
? 399232
? 55370
? 9528
? 5197
? 2356
? 688
? 225
? 119
? 109
? 57
? 8
? 5
? 3
? 4
! 3

result:

ok ok

Test #2:

score: 0
Accepted
time: 21ms
memory: 9368kb

input:

1
0
1
1
0
1
1
1
0
1
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
1
1
1
0
0
0
1
0
0
1

output:

? 431345288
? 97323999
? 331694397
? 319444946
? 195719045
? 281014314
? 267901314
? 242015889
? 198038342
? 224078302
? 201555021
? 222005153
? 204174106
? 213314249
? 216325562
? 218024519
? 220135044
? 221796564
? 220994657
? 221009305
? 221083022
? 221646047
? 221782024
? 221761408
? 221756526
?...

result:

ok ok

Test #3:

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

input:

0
1
1
1
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
0
1
0
0
0
0
0
0
0
1
0
1
1
0
1
1
1
0

output:

? 328578372
? 773652698
? 601855543
? 519424506
? 478259946
? 380903914
? 469678388
? 456276007
? 451673571
? 428056596
? 416685785
? 408268303
? 400387424
? 385759786
? 388786368
? 394546586
? 396566847
? 397995877
? 398694670
? 399099392
? 399915264
? 399228062
? 399458825
? 399683375
? 399775657
...

result:

ok ok

Test #4:

score: 0
Accepted
time: 16ms
memory: 9420kb

input:

0
1
1
0
1
0
0
1
1
1
1
0
1
1
1
0
1
1
1
1
1
1
1
1
0
0
1
0
1
1
1
0
0
0
0
0
1
0
0
1
1
1
0
0

output:

? 204534560
? 546015485
? 368934154
? 211740631
? 366646262
? 254244841
? 273357063
? 353832607
? 329184974
? 323867252
? 313372098
? 274199761
? 311044669
? 307187762
? 293291345
? 282753666
? 290719270
? 287691103
? 287565467
? 286655063
? 286088969
? 284274650
? 283691805
? 282978471
? 282764971
...

result:

ok ok

Test #5:

score: 0
Accepted
time: 12ms
memory: 9416kb

input:

1
1
0
0
0
0
0
0
1
0
0
0
1
0
0
1
1
1
1
1
0
1
1
0
0
1
0
0
1
0
0
1
1
0
1
1
0
1
1
0
1
1
0
0
1
1

output:

? 574708587
? 493658169
? 37429455
? 127999659
? 258114616
? 326686095
? 400730288
? 423292538
? 470259132
? 451368163
? 456111062
? 456895579
? 464404896
? 457715794
? 460665932
? 463277665
? 462174557
? 461579296
? 461376081
? 461136789
? 460764446
? 461029432
? 460992559
? 460893612
? 460959212
?...

result:

ok ok

Test #6:

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

input:

1
0
1
0
1
1
0
1
1
0
0
1
1
1
0
1
0
1
1
1
1
1
0
1
1
1
1
0
1
0
1
1
0
1
0
0
1
0
0
0
0

output:

? 903565031
? 417300007
? 865397132
? 617189285
? 752363972
? 702776289
? 632647056
? 648873427
? 643613351
? 636018499
? 638406587
? 642103803
? 639991532
? 639944415
? 638805872
? 639942892
? 638991350
? 639922839
? 639395249
? 639159886
? 639122150
? 639081686
? 639051095
? 639062152
? 639059705
...

result:

ok ok

Test #7:

score: 0
Accepted
time: 12ms
memory: 9344kb

input:

0
1
0
0
0
0
1
1
1
1
0
1
1
1
0
0
1
0
0
1
1
0
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
1
1

output:

? 652183039
? 857487653
? 699266868
? 754745586
? 804932313
? 809846347
? 854707324
? 847782590
? 818829215
? 818518989
? 817023669
? 818247672
? 817716835
? 817161750
? 817045688
? 817080495
? 817159400
? 817091817
? 817131915
? 817142296
? 817137412
? 817132655
? 817135162
? 817136561
? 817137298
...

result:

ok ok

Test #8:

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

input:

1
1
0
0
0
0
1
0
0
1
0
1
0
0
1
0
1
1
0
1
0
0
0
0
1
1
0
1
0
1
0
0
1
1
1
0
0
0
1
0
0
1
0
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
1
0

output:

? 978177217
? 774934477
? 300936728
? 577986103
? 607298465
? 608341722
? 757552900
? 612782304
? 641786675
? 724567591
? 690845301
? 713191655
? 694480507
? 696707959
? 704657174
? 698603095
? 703726267
? 702145046
? 698962299
? 700419391
? 699334885
? 699927215
? 700110881
? 700166760
? 700314406
...

result:

ok ok

Test #9:

score: 0
Accepted
time: 16ms
memory: 9432kb

input:

0
1
1
0
0
1
0
1
1
0
0
0
1
0
0
0
1
0
1
1
0
0
1
0
1
1
0
1
0
0
0
0
0
1
0
0
1
1
0
1
0
0
1
1
0
0
1
1
1

output:

? 710707357
? 970671527
? 899522134
? 794890864
? 820942279
? 898913837
? 827153303
? 865076605
? 846741528
? 829019085
? 840875529
? 841531279
? 846668511
? 842728508
? 844107241
? 844509851
? 845507694
? 845058485
? 845283760
? 845260714
? 845097133
? 845097188
? 845259329
? 845118387
? 845259103
...

result:

ok ok

Test #10:

score: 0
Accepted
time: 13ms
memory: 9432kb

input:

0
0
0
1
1
0
0
0
0
0
1
1
0
1
1
1
0
0
0
0
1
1
0
0
0
1
1
0
1
1
0
0
1
0
1
0
0
1
0
1
1
1
1
0

output:

? 134296786
? 158973206
? 621075886
? 915700360
? 903373056
? 623357766
? 697708037
? 706198868
? 786980924
? 874175968
? 898362827
? 884463781
? 874892920
? 879596199
? 878131730
? 876613790
? 875427958
? 876052756
? 876453736
? 876510233
? 876593826
? 876552020
? 876513083
? 876525972
? 876531881
...

result:

ok ok

Test #11:

score: 0
Accepted
time: 8ms
memory: 9404kb

input:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

output:

? 982822429
? 992547914
? 995413356
? 997272260
? 998579509
? 999860942
? 999874096
? 999993544
? 999999939
? 999999943
? 999999959
? 999999985
? 999999991
? 999999997
? 999999999
? 1000000000
! 1000000000

result:

ok ok

Test #12:

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

input:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

output:

? 243023532
? 161439113
? 90891014
? 75217389
? 42750668
? 32384646
? 16380794
? 3688327
? 2148861
? 665471
? 157070
? 34608
? 7543
? 4112
? 2392
? 1974
? 773
? 140
? 104
? 36
? 30
? 25
? 18
? 5
? 4
? 3
? 2
! 1

result:

ok ok