QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#83805 | #5206. Hot and Cold | cnyz | WA | 5ms | 3660kb | C++14 | 2.6kb | 2023-03-03 15:55:18 | 2023-03-03 15:55:22 |
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: 5ms
memory: 3660kb
input:
Tabilmadi Sama distanco Daha yakin Dalej Dalej Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Daha yakin Daha yakin Dalej Dalej Dalej Dalej Dalej Daha yakin Daha yakin Sama distanco Dalej Dalej Daha yakin Dalej ...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 62501 0 31249 0 31251 0 15624 0 15626 0 0 0 7812 0 1952 0 1954 0 0 0 976 0 488 0 732 0 368 0 792 0 338 0 806 0 330 0 800 0 332 0 566 499999 566 500001 566 249999 566 250001 566 124999 566 125001 566 62499 566 62501 566 312...
result:
ok 61 points
Test #2:
score: 0
Accepted
time: 3ms
memory: 3532kb
input:
rr ee qq ww qq qq qq qq ww qq qq ww qq qq ww qq qq ww qq qq ww ee qq qq qq qq ww qq qq ww qq qq ww qq qq ww qq qq ww ee You are lucky today!
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 750001 0 874999 0 687503 0 843747 0 703129 0 851557 0 707037 0 849603 0 706061 0 849113 0 706305 0 849233 0 706367 0 849201 0 706353 0 777777 499999 777777 500001 777777 999999 777777 750001 777777 874999 777777 687503 777777 843747 777777 703129 777777 851...
result:
ok 41 points
Test #3:
score: 0
Accepted
time: 3ms
memory: 3540kb
input:
Tabilmadi Sama distanco Daha yakin Dalej Dalej Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Dalej Daha yakin Daha yakin Dalej Daha yakin Dalej Dalej Dalej Sama distanco Dalej Dalej Daha ...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 62501 0 31249 0 31251 0 15624 0 15626 0 0 0 7812 0 1952 0 1954 0 0 0 976 0 243 0 245 0 121 0 123 0 245 0 185 0 273 0 201 0 279 0 197 0 281 0 239 499999 239 500001 239 249999 239 250001 239 124999 239 125001 239 62499 239 6...
result:
ok 61 points
Test #4:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
voyne net net voyne miru mir mir miru miru mir miru mir mir miru miru mir miru mir miru mir mir miru miru mir mir miru mir miru miru mir mir miru miru mir miru mir miru mir miru mir miru mir miru mir mir miru miru mir net voyne miru mir mir miru miru mir mir miru mir miru miru mir miru mir mir miru ...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 250003 0 874997 0 312503 0 843747 0 296879 0 835933 0 292975 0 837885 0 293953 0 838371 0 294199 0 838247 0 294261 0 838215 0 294277 0 838207 0 294275 0 838203 0 566239 499999 566239 500001 566239 249999 566239 250001 566239 124999 566239 125001 566239 2500...
result:
ok 47 points
Test #5:
score: 0
Accepted
time: 4ms
memory: 3600kb
input:
miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru mir miru...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 250001 0 187501 0 281249 0 203127 0 273435 0 207033 0 271481 0 208009 0 270993 0 208253 0 270871 0 208313 0 270841 0 208299 0 270833 0 239566 499999 239566 500001 239566 999999 239566 250003 239566 874997 239566 312503 239566 8437...
result:
ok 47 points
Test #6:
score: 0
Accepted
time: 4ms
memory: 3536kb
input:
mmimRRmmmmuiiuuiuimRmiiuiuiiuu mmimRRmmmmuiiuuiuimRmiiuiuiium mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRm...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 500001 0 125001 0 562501 0 93751 0 578125 0 85939 0 582031 0 83985 0 583007 0 83497 0 583251 0 83375 0 583311 0 83345 0 583325 0 83337 0 583329 0 333333 499999 333333 500001 333333 249999 333333 250001 333333 500001 333333 125001 333333 562501 3333...
result:
ok 47 points
Test #7:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
uiuumRmiRuRuRmmimuuummiRuiRumR uiuumRmiRuRuRmmimuuummiRuiRumm uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumu uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumu uiuumRmiRuRuRmmimuuummiRuiRumu uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuum...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 250003 0 687501 0 687499 0 624999 0 718747 0 609375 0 726559 0 605469 0 728511 0 604493 0 728999 0 604249 0 729121 0 604187 0 729151 0 604171 0 729159 0 604177 0 729155 0 666667 499999 666667 500001 666667 999999 666667 250003 666667 687501 666667 687499 66...
result:
ok 49 points
Test #8:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
RiRiiiimiRiiiuRuuRiRmuRiuRuRR!
output:
0 0
result:
ok 1 points
Test #9:
score: 0
Accepted
time: 4ms
memory: 3648kb
input:
imRRmiRiRiRuimuiRiiiumiiRRmRim RRmuRmRumiiiiiuRmRmummuiuRuRiR RuRummmRRimumRimuRRiRuRuuiuRui mRmmmRmRRmiiuiummmuiiiuiRiRRmu RuRummmRRimumRimuRRiRuRuuiuRui RuRummmRRimumRimuRRiRuRuuiuRui RuRummmRRimumRimuRRiRuRuuiuRui mRmmmRmRRmiiuiummmuiiiuiRiRRmu RuRummmRRimumRimuRRiRuRuuiuRui mRmmmRmRRmiiuiummmuii...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 750001 0 937500 0 937498 0 1000000 0 968750 0 992188 0 992186 0 1000000 0 996094 0 999024 0 999022 0 1000000 0 999512 0 999878 0 999876 0 1000000 0 999938 0 999985 0 999983 0 999999 0 999993 0 999998 0 999996 0 1000000 0 999998 0 1000000 0 1000000 499999 10...
result:
ok 40 points
Test #10:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
RiuimmRRRmmiimmiRuRRRmRiuimRum RiuimmRRRmmiimmiRuRRRmRiuimRui RiuimmRRRmmiimmiRuRRRmRiuimRuR RiuimmRRRmmiimmiRuRRRmRiuimRuu RiuimmRRRmmiimmiRuRRRmRiuimRuu RiuimmRRRmmiimmiRuRRRmRiuimRuu RiuimmRRRmmiimmiRuRRRmRiuimRuR RiuimmRRRmmiimmiRuRRRmRiuimRuu RiuimmRRRmmiimmiRuRRRmRiuimRuR RiuimmRRRmmiimmiRuRRR...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 62501 0 31249 0 31251 0 15624 0 15626 0 0 0 7812 0 1952 0 1954 0 0 0 976 0 243 0 245 0 121 0 123 0 60 0 62 0 0 0 30 0 7 0 9 0 3 0 5 0 1 0 3 0 0 0 2 0 0 0 0 499999 0 500001 0 999999 0 750001 0 937500 0 937498 0 1000000
result:
ok 46 points
Test #11:
score: 0
Accepted
time: 3ms
memory: 3600kb
input:
muumRumummuRiiiRuRmmmimumuimmm RuRiRRRiumummimRuimimimuiimiRu RuuRimimuimRRRmuuiRiiumuRRiiui RuuimuiiuRmiRRummuiiuuiiiiRiuR RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuimuiiuRmiRRummuiiuuiiiiRiuR RuuRimimuimRRRmuuiRiiumuRRiiui RuuimuiiuRmiRRummuiiu...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 750001 0 937500 0 937498 0 1000000 0
result:
ok 11 points
Test #12:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
iiRmmuRiummRimiuiRRmmmimRummii mimmRuiimuRmuiiiuRRRRiRmRimium RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu RmRumumumimiRmuimRRmuumiRRRiRR RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu mRuRuuRRiuiiiRiummuum...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 500001 0 125001 0 562501 0 93751 0 578125 0 85939 0 582031 0 83985 0 583007 0 83497 0 583251 0 83375 0 583311 0 83345 0 583325 0 83337 0 583329 0 333333 499999 333333 500001 333333 249999 333333 250001 333333 500001 333333 125001 333333 562501 3333...
result:
ok 48 points
Test #13:
score: 0
Accepted
time: 2ms
memory: 3544kb
input:
RimiuiiuuimmRiimimuiiuuuiiimmR uumuiumumRiuuimumiimRiiuumuRiu iRiuuRumumumiiRRumRmiRRiuumiii miiuuimuiiimuuiimuiRRuimRRRRRm iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmiRRiuumiii miiuuimuiiimuuiimuiRRuimRRRRRm miiuuimuiiimuuiimuiRRuimRRRRRm iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmi...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 250003 0 687501 0 687499 0 624999 0 718747 0 609375 0 726559 0 605469 0 728511 0 604493 0 728999 0 604249 0 729121 0 604187 0 729151 0 604171 0 729159 0 604177 0 729155 0 666667 499999 666667 500001 666667 999999 666667 250003 666667 687501 666667 687499 66...
result:
ok 48 points
Test #14:
score: 0
Accepted
time: 2ms
memory: 3548kb
input:
mimimRRuRRRmummimRuiiuRRiiRiuu iiiiRimiimimRuRmuimRiRmRuRmiRm iiiiRimiimimRuRmuimRiRmRuRmiRm iiiiRimiimimRuRmuimRiRmRuRmiRm RuuiuRuiuRmiRumRRmummiuiiiiiu!
output:
0 0 0 0 1 1 0 0 0 1
result:
ok 5 points
Test #15:
score: 0
Accepted
time: 4ms
memory: 3520kb
input:
miRuRiuumuuimuRRiRimmmRRimmuui miRiRRuiRiiuuRRiiRiiiuimuRmiiu RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiuiiumRuRiR RRuiuiiuiummRuuuuiRmRRmuuimuim RRuiuiiuiummRuuuuiRmRRmuuimuim RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiuiiumRuRiR RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiu...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 750001 0 937500 0 937498 0 1000000 0 968750 0 992188 0 992186 0 1000000 0 996094 0 999024 0 999022 0 1000000 0 999512 0 999878 0 999876 0 1000000 0 999938 0 999985 0 999983 0 999999 0 999993 0 999998 0 999996 0 1000000 0 999998 0 1000000 0 1000000 499999 10...
result:
ok 36 points
Test #16:
score: 0
Accepted
time: 3ms
memory: 3556kb
input:
RRuuiiiiiiRummuRuumRmuiiiiuuui iuuiRuRiummRRimuRmiuuuiRiiuRmu iRmRiiuiuRiumummumummuiumuuRRR uRimmuumRmumRiuuRuiiRuuRimRRRm uRimmuumRmumRiuuRuiiRuuRimRRRm uRimmuumRmumRiuuRuiiRuuRimRRRm iRmRiiuiuRiumummumummuiumuuRRR uRimmuumRmumRiuuRuiiRuuRimRRRm iRmRiiuiuRiumummumummuiumuuRRR uRimmuumRmumRiuuRuiiR...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 62501 0 31249 0 31251 0 15624 0 15626 0 0 0 7812 0 1952 0 1954 0 0 0 976 0 243 0 245 0 121 0 123 0 60 0 62 0 0 0 30 0 7 0 9 0 3 0 5 0 1 0 3 0 0 0 2 0 0 0 0 499999 0 500001 0 999999
result:
ok 42 points
Test #17:
score: 0
Accepted
time: 4ms
memory: 3556kb
input:
mRRuumRRmuRumRmimiimmiRiuiiRRm mRRuumRRmuRumRmimiimmiRiuiiRRi mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRu mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRu mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimm...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 750001 0 937500 0 937498 0 1000000 0 968750 0 992188 0 992186 0 1000000 0 996094 0 999024 0 999022 0 1000000 0 999512 0 999878 0 999876 0 1000000 0 999938 0 999985 0 999983 0 999999 0 999993 0 999998 0 999996 0 1000000 0 999998 0 1000000 0 1000000 499999 10...
result:
ok 64 points
Test #18:
score: 0
Accepted
time: 3ms
memory: 3500kb
input:
miiuRimumuumRiRiuRiiiRuRRumiRu miiuRimumuumRiRiuRiiiRuRRumiRR miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiii...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 500001 0 125001 0 562501 0 93751 0 578125 0 85939 0 582031 0 83985 0 583007 0 83497 0 583251 0 83375 0 583311 0 83345 0 583325 0 83337 0 583329 0 333333 499999 333333 500001 333333 249999 333333 250001 333333 500001 333333 125001 333333 562501 3333...
result:
ok 45 points
Test #19:
score: 0
Accepted
time: 4ms
memory: 3512kb
input:
iummmimiimRimumiRuimRimRRiRmuR iummmimiimRimumiRuimRimRRiRmui iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmum iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmum iummmimiimRimumiRuimRimRRiRmum iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimR...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 999999 0 250003 0 687501 0 687499 0 624999 0 718747 0 609375 0 726559 0 605469 0 728511 0 604493 0 728999 0 604249 0 729121 0 604187 0 729151 0 604171 0 729159 0 604177 0 729155 0 666667 499999 666667 500001 666667 999999 666667 250003 666667 687501 666667 687499 66...
result:
ok 45 points
Test #20:
score: -100
Wrong Answer
time: 0ms
memory: 3544kb
input:
uRimimimiRumimRiRmuRiuummRiiRm uRimimimiRumimRiRmuRiuummRiiRu uRimimimiRumimRiRmuRiuummRiiRi uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRi uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRi uRimimimiRumimRiRmuRi...
output:
0 0 0 0 1 1 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 62501 0 31249 0 31251 0 15624 0 15626 0 0 0 7812 0 1952 0 1954 0 0 0 976 0 243 0 245 0 121 0 123 0 60 0 62 0 0 0 30 0 7 0 9 0 3 0 5 0 1 0 3 0 0 0 2 0 0 0 0 499999 0 500001 0 249999 0 250001 0 124999 0 125001 0 62499 0 6250...
result:
wrong answer Used 64 points but did not win