QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#874588#7114. Best Interactive PlayerLuSter_MAC ✓1ms3712kbC++20750b2025-01-28 11:32:052025-01-28 11:32:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
1
0
0

output:

? 536870912
? 268435456
? 134217728
? 67108864
? 33554432
? 16777216
? 8388608
? 4194304
? 2097152
? 1048576
? 524288
? 262144
? 131072
? 65536
? 32768
? 16384
? 8192
? 4096
? 2048
? 1024
? 512
? 256
? 128
? 64
? 32
? 16
? 8
? 4
? 2
? 3
! 3

result:

ok ok

Test #2:

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

input:

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

output:

? 536870912
? 268435456
? 134217728
? 201326592
? 234881024
? 218103808
? 226492416
? 222298112
? 220200960
? 221249536
? 221773824
? 221511680
? 221642752
? 221708288
? 221675520
? 221691904
? 221683712
? 221687808
? 221685760
? 221686784
? 221687296
? 221687040
? 221687168
? 221687104
? 221687072
...

result:

ok ok

Test #3:

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

input:

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

output:

? 536870912
? 268435456
? 402653184
? 335544320
? 369098752
? 385875968
? 394264576
? 398458880
? 400556032
? 399507456
? 400031744
? 399769600
? 399900672
? 399835136
? 399802368
? 399785984
? 399777792
? 399773696
? 399771648
? 399770624
? 399770112
? 399770368
? 399770496
? 399770560
? 399770528
...

result:

ok ok

Test #4:

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

input:

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

output:

? 536870912
? 268435456
? 402653184
? 335544320
? 301989888
? 285212672
? 276824064
? 281018368
? 283115520
? 282066944
? 282591232
? 282853376
? 282984448
? 282918912
? 282886144
? 282902528
? 282894336
? 282890240
? 282888192
? 282887168
? 282886656
? 282886400
? 282886528
? 282886592
? 282886624
...

result:

ok ok

Test #5:

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

input:

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

output:

? 536870912
? 268435456
? 402653184
? 469762048
? 436207616
? 452984832
? 461373440
? 457179136
? 459276288
? 460324864
? 460849152
? 461111296
? 460980224
? 460914688
? 460947456
? 460963840
? 460972032
? 460967936
? 460969984
? 460971008
? 460970496
? 460970240
? 460970112
? 460970048
? 460970080
...

result:

ok ok

Test #6:

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

input:

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

output:

? 536870912
? 805306368
? 671088640
? 603979776
? 637534208
? 654311424
? 645922816
? 641728512
? 639631360
? 638582784
? 639107072
? 638844928
? 638976000
? 639041536
? 639074304
? 639057920
? 639049728
? 639053824
? 639051776
? 639052800
? 639053312
? 639053568
? 639053440
? 639053504
? 639053472
...

result:

ok ok

Test #7:

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

input:

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

output:

? 536870912
? 805306368
? 939524096
? 872415232
? 838860800
? 822083584
? 813694976
? 817889280
? 815792128
? 816840704
? 817364992
? 817102848
? 817233920
? 817168384
? 817135616
? 817152000
? 817143808
? 817139712
? 817137664
? 817136640
? 817137152
? 817136896
? 817137024
? 817136960
? 817136928
...

result:

ok ok

Test #8:

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

input:

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

output:

? 536870912
? 805306368
? 671088640
? 738197504
? 704643072
? 687865856
? 696254464
? 700448768
? 698351616
? 699400192
? 699924480
? 700186624
? 700317696
? 700252160
? 700284928
? 700268544
? 700260352
? 700256256
? 700254208
? 700253184
? 700252672
? 700252928
? 700253056
? 700252992
? 700253024
...

result:

ok ok

Test #9:

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

input:

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

output:

? 536870912
? 805306368
? 939524096
? 872415232
? 838860800
? 855638016
? 847249408
? 843055104
? 845152256
? 846200832
? 845676544
? 845414400
? 845283328
? 845217792
? 845185024
? 845201408
? 845193216
? 845197312
? 845199360
? 845200384
? 845200896
? 845200640
? 845200768
? 845200832
? 845200800
...

result:

ok ok

Test #10:

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

input:

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

output:

? 536870912
? 805306368
? 939524096
? 872415232
? 905969664
? 889192448
? 880803840
? 876609536
? 874512384
? 875560960
? 876085248
? 876347392
? 876478464
? 876544000
? 876511232
? 876527616
? 876535808
? 876539904
? 876537856
? 876538880
? 876538368
? 876538624
? 876538752
? 876538816
? 876538784
...

result:

ok ok

Test #11:

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

input:

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

output:

? 536870912
? 805306368
? 939524096
? 973078528
? 989855744
? 998244352
? 999292928
? 999817216
? 999948288
? 999981056
? 999997440
? 999999488
? 1000000000
! 1000000000

result:

ok ok

Test #12:

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

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
1
1
0

output:

? 536870912
? 268435456
? 134217728
? 67108864
? 33554432
? 16777216
? 8388608
? 4194304
? 2097152
? 1048576
? 524288
? 262144
? 131072
? 65536
? 32768
? 16384
? 8192
? 4096
? 2048
? 1024
? 512
? 256
? 128
? 64
? 32
? 16
? 8
? 4
? 2
? 1
! 1

result:

ok ok