QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#525413 | #6394. Turn on the Light | ZhangYiDe | AC ✓ | 1ms | 3808kb | C++23 | 1.6kb | 2024-08-20 16:16:05 | 2024-08-20 16:16:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3468kb
input:
3 1 2 2
output:
? 1 ? 2 ? 3 ! 3
result:
ok Correct position at 3
Test #2:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
10 1 2 3 4 5 6 7 8 8
output:
? 1 ? 2 ? 3 ? 4 ? 5 ? 6 ? 7 ? 8 ? 9 ! 9
result:
ok Correct position at 9
Test #3:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
9 1 2 3 4 5 6 7 7
output:
? 1 ? 2 ? 3 ? 4 ? 5 ? 6 ? 7 ? 8 ! 8
result:
ok Correct position at 8
Test #4:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
8 1 2 3 4 5 6 6
output:
? 1 ? 2 ? 3 ? 4 ? 5 ? 6 ? 7 ! 7
result:
ok Correct position at 7
Test #5:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
7 1 2 3 4 5 5
output:
? 1 ? 2 ? 3 ? 4 ? 5 ? 6 ! 6
result:
ok Correct position at 6
Test #6:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
6 1 2 3 4 5 5
output:
? 1 ? 2 ? 3 ? 4 ? 5 ? 6 ! 6
result:
ok Correct position at 6
Test #7:
score: 0
Accepted
time: 1ms
memory: 3736kb
input:
5 1 2 3 3
output:
? 1 ? 2 ? 3 ? 4 ! 4
result:
ok Correct position at 4
Test #8:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
4 1 2 3 3
output:
? 1 ? 2 ? 3 ? 4 ! 4
result:
ok Correct position at 4
Test #9:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 1 1
output:
? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #10:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
2 1 1
output:
? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #11:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
1 0
output:
? 1 ! 1
result:
ok Correct position at 1
Test #12:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 999985 ? 15 ? 999993 ? 7 ? 999997 ? 3 ? 999999 ? 1 ? 1000000 ! 100...
result:
ok Correct position at 1000000
Test #13:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
999999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992187 ? 7812 ? 996093 ? 3906 ? 998046 ? 1953 ? 999023 ? 976 ? 999511 ? 488 ? 999755 ? 244 ? 999877 ? 122 ? 999938 ? 61 ? 999969 ? 30 ? 999984 ? 15 ? 999992 ? 7 ? 999996 ? 3 ? 999998 ? 1 ? 999999 ! 999999
result:
ok Correct position at 999999
Test #14:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
999998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499999 ? 749999 ? 249999 ? 874999 ? 124999 ? 937499 ? 62499 ? 968749 ? 31249 ? 984374 ? 15624 ? 992186 ? 7812 ? 996092 ? 3906 ? 998045 ? 1953 ? 999022 ? 976 ? 999510 ? 488 ? 999754 ? 244 ? 999876 ? 122 ? 999937 ? 61 ? 999968 ? 30 ? 999983 ? 15 ? 999991 ? 7 ? 999995 ? 3 ? 999997 ? 1 ? 999998 ! 999998
result:
ok Correct position at 999998
Test #15:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
999997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499999 ? 749998 ? 249999 ? 874998 ? 124999 ? 937498 ? 62499 ? 968748 ? 31249 ? 984373 ? 15624 ? 992185 ? 7812 ? 996091 ? 3906 ? 998044 ? 1953 ? 999021 ? 976 ? 999509 ? 488 ? 999753 ? 244 ? 999875 ? 122 ? 999936 ? 61 ? 999967 ? 30 ? 999982 ? 15 ? 999990 ? 7 ? 999994 ? 3 ? 999996 ? 1 ? 999997 ! 999997
result:
ok Correct position at 999997
Test #16:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
999996 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499998 ? 749997 ? 249999 ? 874997 ? 124999 ? 937497 ? 62499 ? 968747 ? 31249 ? 984372 ? 15624 ? 992184 ? 7812 ? 996090 ? 3906 ? 998043 ? 1953 ? 999020 ? 976 ? 999508 ? 488 ? 999752 ? 244 ? 999874 ? 122 ? 999935 ? 61 ? 999966 ? 30 ? 999981 ? 15 ? 999989 ? 7 ? 999993 ? 3 ? 999995 ? 1 ? 999996 ! 999996
result:
ok Correct position at 999996
Test #17:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
999995 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499998 ? 749997 ? 249999 ? 874996 ? 124999 ? 937496 ? 62499 ? 968746 ? 31249 ? 984371 ? 15624 ? 992183 ? 7812 ? 996089 ? 3906 ? 998042 ? 1953 ? 999019 ? 976 ? 999507 ? 488 ? 999751 ? 244 ? 999873 ? 122 ? 999934 ? 61 ? 999965 ? 30 ? 999980 ? 15 ? 999988 ? 7 ? 999992 ? 3 ? 999994 ? 1 ? 999995 ! 999995
result:
ok Correct position at 999995
Test #18:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
999994 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499997 ? 749996 ? 249998 ? 874995 ? 124999 ? 937495 ? 62499 ? 968745 ? 31249 ? 984370 ? 15624 ? 992182 ? 7812 ? 996088 ? 3906 ? 998041 ? 1953 ? 999018 ? 976 ? 999506 ? 488 ? 999750 ? 244 ? 999872 ? 122 ? 999933 ? 61 ? 999964 ? 30 ? 999979 ? 15 ? 999987 ? 7 ? 999991 ? 3 ? 999993 ? 1 ? 999994 ! 999994
result:
ok Correct position at 999994
Test #19:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
999993 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499997 ? 749995 ? 249998 ? 874994 ? 124999 ? 937494 ? 62499 ? 968744 ? 31249 ? 984369 ? 15624 ? 992181 ? 7812 ? 996087 ? 3906 ? 998040 ? 1953 ? 999017 ? 976 ? 999505 ? 488 ? 999749 ? 244 ? 999871 ? 122 ? 999932 ? 61 ? 999963 ? 30 ? 999978 ? 15 ? 999986 ? 7 ? 999990 ? 3 ? 999992 ? 1 ? 999993 ! 999993
result:
ok Correct position at 999993
Test #20:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
999992 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499996 ? 749994 ? 249998 ? 874993 ? 124999 ? 937493 ? 62499 ? 968743 ? 31249 ? 984368 ? 15624 ? 992180 ? 7812 ? 996086 ? 3906 ? 998039 ? 1953 ? 999016 ? 976 ? 999504 ? 488 ? 999748 ? 244 ? 999870 ? 122 ? 999931 ? 61 ? 999962 ? 30 ? 999977 ? 15 ? 999985 ? 7 ? 999989 ? 3 ? 999991 ? 1 ? 999992 ! 999992
result:
ok Correct position at 999992
Test #21:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
999991 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499996 ? 749994 ? 249998 ? 874993 ? 124999 ? 937492 ? 62499 ? 968742 ? 31249 ? 984367 ? 15624 ? 992179 ? 7812 ? 996085 ? 3906 ? 998038 ? 1953 ? 999015 ? 976 ? 999503 ? 488 ? 999747 ? 244 ? 999869 ? 122 ? 999930 ? 61 ? 999961 ? 30 ? 999976 ? 15 ? 999984 ? 7 ? 999988 ? 3 ? 999990 ? 1 ? 999991 ! 999991
result:
ok Correct position at 999991
Test #22:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 27 28 29 28 27 27
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 45 ? 53 ? 37 ? 41 ? 43 ! 43
result:
ok Correct position at 43
Test #23:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
999999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 27 26 27 28 27 27
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992187 ? 7812 ? 996093 ? 3906 ? 998046 ? 1953 ? 999023 ? 976 ? 999511 ? 488 ? 999755 ? 244 ? 999877 ? 122 ? 999938 ? 61 ? 999969 ? 30 ? 45 ? 53 ? 57 ? 49 ? 51 ! 51
result:
ok Correct position at 51
Test #24:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
999998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 27 26 27 28 27 27
output:
? 499999 ? 749999 ? 249999 ? 874999 ? 124999 ? 937499 ? 62499 ? 968749 ? 31249 ? 984374 ? 15624 ? 992186 ? 7812 ? 996092 ? 3906 ? 998045 ? 1953 ? 999022 ? 976 ? 999510 ? 488 ? 999754 ? 244 ? 999876 ? 122 ? 999937 ? 61 ? 999968 ? 30 ? 45 ? 53 ? 57 ? 49 ? 51 ! 51
result:
ok Correct position at 51
Test #25:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
999997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 27 26 27 28 27 27
output:
? 499999 ? 749998 ? 249999 ? 874998 ? 124999 ? 937498 ? 62499 ? 968748 ? 31249 ? 984373 ? 15624 ? 992185 ? 7812 ? 996091 ? 3906 ? 998044 ? 1953 ? 999021 ? 976 ? 999509 ? 488 ? 999753 ? 244 ? 999875 ? 122 ? 999936 ? 61 ? 999967 ? 30 ? 45 ? 53 ? 57 ? 49 ? 51 ! 51
result:
ok Correct position at 51
Test #26:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 22 21 20 21 22 23 22 23 23
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 999817 ? 999786 ? 999771 ? 999778 ? 999763 ? 999782 ? 999780 ? 999781 ! 999781
result:
ok Correct position at 999781
Test #27:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
999999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 28 29 29
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992187 ? 7812 ? 996093 ? 3906 ? 998046 ? 1953 ? 999023 ? 976 ? 999511 ? 488 ? 999755 ? 244 ? 999877 ? 122 ? 999938 ? 61 ? 999969 ? 30 ? 999984 ? 999976 ? 999980 ! 999980
result:
ok Correct position at 999980
Test #28:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
999998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 28 29 29
output:
? 499999 ? 749999 ? 249999 ? 874999 ? 124999 ? 937499 ? 62499 ? 968749 ? 31249 ? 984374 ? 15624 ? 992186 ? 7812 ? 996092 ? 3906 ? 998045 ? 1953 ? 999022 ? 976 ? 999510 ? 488 ? 999754 ? 244 ? 999876 ? 122 ? 999937 ? 61 ? 999968 ? 30 ? 999983 ? 999975 ? 999979 ! 999979
result:
ok Correct position at 999979
Test #29:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
999997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 28 29 29
output:
? 499999 ? 749998 ? 249999 ? 874998 ? 124999 ? 937498 ? 62499 ? 968748 ? 31249 ? 984373 ? 15624 ? 992185 ? 7812 ? 996091 ? 3906 ? 998044 ? 1953 ? 999021 ? 976 ? 999509 ? 488 ? 999753 ? 244 ? 999875 ? 122 ? 999936 ? 61 ? 999967 ? 30 ? 999982 ? 999974 ? 999978 ! 999978
result:
ok Correct position at 999978
Test #30:
score: 0
Accepted
time: 1ms
memory: 3472kb
input:
1000000 1 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 20 19 20 19 19
output:
? 500000 ? 750000 ? 250000 ? 375000 ? 437500 ? 468750 ? 406250 ? 484375 ? 390625 ? 492187 ? 382812 ? 496093 ? 378906 ? 498046 ? 376953 ? 499023 ? 375976 ? 499511 ? 375488 ? 499755 ? 375244 ? 499877 ? 375122 ? 499938 ? 375061 ? 499969 ? 499953 ? 499945 ? 499949 ? 499947 ! 499947
result:
ok Correct position at 499947
Test #31:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
999999 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 21 22 23 24 25 24 25 26 26
output:
? 500000 ? 750000 ? 625000 ? 687500 ? 562500 ? 718750 ? 531250 ? 734375 ? 515625 ? 742187 ? 507812 ? 746093 ? 503906 ? 748046 ? 501953 ? 749023 ? 500976 ? 749511 ? 500488 ? 749755 ? 500244 ? 749877 ? 500122 ? 749938 ? 500061 ? 500091 ? 500106 ? 500076 ? 500114 ? 500068 ? 500072 ? 500074 ? 500070 ! 5...
result:
ok Correct position at 500070
Test #32:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
999998 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 21 22 23 22 23 24 25 26 26
output:
? 499999 ? 749999 ? 624999 ? 687499 ? 562499 ? 718749 ? 531249 ? 734374 ? 515624 ? 742186 ? 507811 ? 746092 ? 503905 ? 748045 ? 501952 ? 749022 ? 500975 ? 749510 ? 500487 ? 749754 ? 500243 ? 749876 ? 500121 ? 749937 ? 500060 ? 500090 ? 500105 ? 500075 ? 500082 ? 500086 ? 500078 ? 500088 ? 500076 ! 5...
result:
ok Correct position at 500076
Test #33:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
999997 1 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 20 21 22 23 24 25 24 24
output:
? 499999 ? 749998 ? 249999 ? 374999 ? 437499 ? 468749 ? 406249 ? 484374 ? 390624 ? 492186 ? 382811 ? 496092 ? 378905 ? 498045 ? 376952 ? 499022 ? 375975 ? 499510 ? 375487 ? 499754 ? 375243 ? 499876 ? 375121 ? 499937 ? 375060 ? 499968 ? 499952 ? 499960 ? 499944 ? 499964 ? 499940 ? 499966 ? 499965 ! 4...
result:
ok Correct position at 499965
Test #34:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 35 35
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 999985 ? 15 ? 999993 ? 7 ? 999997 ? 3 ? 999999 ? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #35:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
999999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 35 35
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992187 ? 7812 ? 996093 ? 3906 ? 998046 ? 1953 ? 999023 ? 976 ? 999511 ? 488 ? 999755 ? 244 ? 999877 ? 122 ? 999938 ? 61 ? 999969 ? 30 ? 999984 ? 15 ? 999992 ? 7 ? 999996 ? 3 ? 999998 ? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #36:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
999998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 35 35
output:
? 499999 ? 749999 ? 249999 ? 874999 ? 124999 ? 937499 ? 62499 ? 968749 ? 31249 ? 984374 ? 15624 ? 992186 ? 7812 ? 996092 ? 3906 ? 998045 ? 1953 ? 999022 ? 976 ? 999510 ? 488 ? 999754 ? 244 ? 999876 ? 122 ? 999937 ? 61 ? 999968 ? 30 ? 999983 ? 15 ? 999991 ? 7 ? 999995 ? 3 ? 999997 ? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #37:
score: 0
Accepted
time: 1ms
memory: 3472kb
input:
999997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 35 35
output:
? 499999 ? 749998 ? 249999 ? 874998 ? 124999 ? 937498 ? 62499 ? 968748 ? 31249 ? 984373 ? 15624 ? 992185 ? 7812 ? 996091 ? 3906 ? 998044 ? 1953 ? 999021 ? 976 ? 999509 ? 488 ? 999753 ? 244 ? 999875 ? 122 ? 999936 ? 61 ? 999967 ? 30 ? 999982 ? 15 ? 999990 ? 7 ? 999994 ? 3 ? 999996 ? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #38:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 999985 ? 15 ? 999993 ? 7 ? 999997 ? 3 ? 999999 ? 1 ? 1000000 ! 100...
result:
ok Correct position at 1000000
Test #39:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
999999 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992187 ? 7812 ? 996093 ? 3906 ? 998046 ? 1953 ? 999023 ? 976 ? 999511 ? 488 ? 999755 ? 244 ? 999877 ? 122 ? 999938 ? 61 ? 999969 ? 30 ? 999984 ? 15 ? 999992 ? 7 ? 999996 ? 3 ? 999998 ? 1 ? 999999 ! 999999
result:
ok Correct position at 999999
Test #40:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
999998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499999 ? 749999 ? 249999 ? 874999 ? 124999 ? 937499 ? 62499 ? 968749 ? 31249 ? 984374 ? 15624 ? 992186 ? 7812 ? 996092 ? 3906 ? 998045 ? 1953 ? 999022 ? 976 ? 999510 ? 488 ? 999754 ? 244 ? 999876 ? 122 ? 999937 ? 61 ? 999968 ? 30 ? 999983 ? 15 ? 999991 ? 7 ? 999995 ? 3 ? 999997 ? 1 ? 999998 ! 999998
result:
ok Correct position at 999998
Test #41:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
999997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 499999 ? 749998 ? 249999 ? 874998 ? 124999 ? 937498 ? 62499 ? 968748 ? 31249 ? 984373 ? 15624 ? 992185 ? 7812 ? 996091 ? 3906 ? 998044 ? 1953 ? 999021 ? 976 ? 999509 ? 488 ? 999753 ? 244 ? 999875 ? 122 ? 999936 ? 61 ? 999967 ? 30 ? 999982 ? 15 ? 999990 ? 7 ? 999994 ? 3 ? 999996 ? 1 ? 999997 ! 999997
result:
ok Correct position at 999997
Test #42:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 37
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 999985 ? 15 ? 999993 ? 7 ? 999997 ? 3 ? 999999 ? 1 ? 1000000 ! 100...
result:
ok Correct position at 1000000
Test #43:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 36
output:
? 500000 ? 750000 ? 250000 ? 875000 ? 125000 ? 937500 ? 62500 ? 968750 ? 31250 ? 984375 ? 15625 ? 992188 ? 7812 ? 996094 ? 3906 ? 998047 ? 1953 ? 999024 ? 976 ? 999512 ? 488 ? 999756 ? 244 ? 999878 ? 122 ? 999939 ? 61 ? 999970 ? 30 ? 999985 ? 15 ? 999993 ? 7 ? 999997 ? 3 ? 999999 ? 1 ! 1
result:
ok Correct position at 1