QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#510853 | #5206. Hot and Cold | ZhaoZiLong | WA | 1ms | 4136kb | C++20 | 4.1kb | 2024-08-09 13:41:05 | 2024-08-09 13:41:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 4064kb
input:
Tabilmadi Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Dalej Daha yakin Daha yakin Daha yakin Daha yakin Daha yakin Dalej Daha yakin Daha yakin Daha yakin Sama distanco Dalej Daha yakin Daha yakin D...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 166668 1 55557 1 55558 1 18520 1 18521 1 6174 1 6175 1 2059 1 2060 1 687 1 688 1 230 1 459 1 611 1 610 1 560 1 561 1 577 1 569 1 564 1 565 1 565 1 565 333334 565 166668 565 55557 565 55558 565 18520 565 18521 565 6174 565 6175 565 2059 565 206...
result:
ok 57 points
Test #2:
score: 0
Accepted
time: 1ms
memory: 3856kb
input:
rr qq qq qq qq ww qq qq qq qq qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq qq qq qq qq qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq ww qq ww You are lucky today!
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 833333 500001 722222 500001 722223 500001 759260 500001 759259 500001 771605 500001 771604 500001 775720 500001 775719 500001 777092 500001 777091 500001 777549 500001 777548 500001 777702 500001 777701 500001 777753 500001 7777...
result:
ok 54 points
Test #3:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
Tabilmadi Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Dalej Daha yakin Daha yakin Dalej Daha yakin Daha yakin Dalej Daha yakin Dalej Dalej Daha yakin Sama distanco Dalej Daha yakin Daha yakin Dalej Daha ...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 166668 1 55557 1 55558 1 18520 1 18521 1 6174 1 6175 1 2059 1 2060 1 687 1 688 1 230 1 231 1 382 1 306 1 256 1 257 1 239 1 240 1 234 1 237 1 237 1 237 333334 237 166668 237 55557 237 55558 237 18520 237 18521 237 6174 237 6175 237 2059 237 206...
result:
ok 57 points
Test #4:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
voyne net miru mir mir miru miru mir miru mir miru mir mir miru miru mir miru mir miru mir mir miru miru mir miru mir miru mir miru mir mir miru mir miru miru mir miru mir miru mir miru mir mir miru mir miru miru mir miru mir miru mir mir miru miru mir net voyne miru mir net voyne miru mir miru mir ...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 1 833334 1 666668 1 555557 1 555558 1 592594 1 574076 1 561731 1 561732 1 565846 1 565845 1 567217 1 566531 1 566074 1 566075 1 566227 1 566226 1 566278 1 566253 1 566236 1 566237 1 566242 1 566240 1 566238 1 566239 1 566239 1 566239 333334 566239 3...
result:
ok 53 points
Test #5:
score: 0
Accepted
time: 1ms
memory: 3728kb
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 1 0 1000000 1 1000000 1000000 1000000 1 500001 333334 500001 333333 500001 222222 500001 222223 500001 259260 500001 240742 500001 228396 500001 234569 500001 238684 500001 238683 500001 240056 500001 240055 500001 239598 500001 239599 500001 239446 500001 239522 500001 239573 500001 239572 50...
result:
ok 58 points
Test #6:
score: 0
Accepted
time: 1ms
memory: 3784kb
input:
mmimRRmmmmuiiuuiuimRmiiuiuiiuu mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiuR mmimRRmmmmuiiuuiuimRmiiuiuiiui mmimRRmmmmuiiuuiuimRm...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 333333 1 222222 1 277777 1 314814 1 314813 1 327160 1 327159 1 331275 1 331274 1 332647 1 332646 1 333104 1 333103 1 333257 1 333256 1 333308 1 333307 1 333325 1 333324 1 333330 1 333329 1 333332 1 333331 1 333332 1 333332 333334 333332 333333...
result:
ok 59 points
Test #7:
score: 0
Accepted
time: 1ms
memory: 3728kb
input:
uiuumRmiRuRuRmmimuuummiRuiRumR uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumu uiuumRmiRuRuRmmimuuummiRuiRumi uiuumRmiRuRuRmmimuuummiRuiRumu uiuumRmiRuRuRmmimuuum...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 666668 500001 555557 500001 611113 500001 648150 500001 648149 500001 660495 500001 660494 500001 664610 500001 664609 500001 665982 500001 665981 500001 666439 500001 666438 500001 666592 500001 666591 500001 666643 500001 6666...
result:
ok 54 points
Test #8:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
RiRiiiimiRiiiuRuuRiRmuRiuRuRR!
output:
0 0 tot 1
result:
ok 1 points
Test #9:
score: 0
Accepted
time: 1ms
memory: 4076kb
input:
imRRmiRiRiRuimuiRiiiumiiRRmRim RuRummmRRimumRimuRRiRuRuuiuRui RuRummmRRimumRimuRRiRuRuuiuRui RuRummmRRimumRimuRRiRuRuuiuRui iimumuiuRiiiiRmRmimuiRmiRRiRm!
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 tot 5
result:
ok 5 points
Test #10:
score: 0
Accepted
time: 1ms
memory: 4024kb
input:
RiuimmRRRmmiimmiRuRRRmRiuimRum RiuimmRRRmmiimmiRuRRRmRiuimRuR RiuimmRRRmmiimmiRuRRRmRiuimRu!
output:
0 0 0 1 0 1000000 tot 3
result:
ok 3 points
Test #11:
score: 0
Accepted
time: 1ms
memory: 4056kb
input:
muumRumummuRiiiRuRmmmimumuimmm RuuimuiiuRmiRRummuiiuuiiiiRiuR RuuimuiiuRmiRRummuiiuuiiiiRiuR RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuRimimuimRRRmuuiRiiumuRRiiui RuuimuiiuRmiRRummuiiuuiiiiRiuR RuuRimimuimRRRmuuiRii...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1000000 999999 500001 0 833334 0 833333 0 944445 0 944444 0 981482 0 981481 0 993827 0 993826 0 997942 0 997941 0 999314 0 999313 0 999771 0 999770 0 999924 0 999923 0 999975 0 999974 0 999992 0 999991 0 999997 0 999996 0 999999 0 999998 0 999999 0 999999 ...
result:
ok 34 points
Test #12:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
iiRmmuRiummRimiuiRRmmmimRummii RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu RmRumumumimiRmuimRRmuumiRRRiRR RmRumumumimiRmuimRRmuumiRRRiRR RmRumumumimiRmuimRRmuumiRRRiRR mRuRuuRRiuiiiRiummuumRRRiRRmRu RmRumumumimiRmuimRRmu...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 333333 1 222222 1 277777 1 314814 1 314813 1 327160 1 327159 1 331275 1 331274 1 332647 1 332646 1 333104 1 333103 1 333257 1 333256 1 333308 1 333307 1 333325 1 333324 1 333330 1 333329 1 333332 1 333331 1 333332 1 333332 333334 333332 333333...
result:
ok 58 points
Test #13:
score: 0
Accepted
time: 0ms
memory: 4056kb
input:
RimiuiiuuimmRiimimuiiuuuiiimmR iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmiRRiuumiii iRiuuRumumumiiRRumRmiRRiuumiii miiuuimuiiimuuiimuiRRuimRRRRRm iRiuuRumumumiiRRumRmiRRiuumiii miiuuimuiiimuuiimuiRRuimRRRRRm iRiuuRumumumiiRRumRmi...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 666668 500001 555557 500001 611113 500001 648150 500001 648149 500001 660495 500001 660494 500001 664610 500001 664609 500001 665982 500001 665981 500001 666439 500001 666438 500001 666592 500001 666591 500001 666643 500001 6666...
result:
ok 54 points
Test #14:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
mimimRRuRRRmummimRuiiuRRiiRiuu RuuiuRuiuRmiRumRRmummiuiiiiiu!
output:
0 0 0 1 tot 2
result:
ok 2 points
Test #15:
score: 0
Accepted
time: 1ms
memory: 3864kb
input:
miRuRiuumuuimuRRiRimmmRRimmuui RRuiuiiuiummRuuuuiRmRRmuuimuim RRuiuiiuiummRuuuuiRmRRmuuimuim RRuiuiiuiummRuuuuiRmRRmuuimuim RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiuiiumRuRiR RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiuiiumRuRiR RRuiuiiuiummRuuuuiRmRRmuuimuim iRRRuRuiimRRuuiuRumiu...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 833333 500001 944445 500001 944444 500001 981482 500001 981481 500001 993827 500001 993826 500001 997942 500001 997941 500001 999314 500001 999313 500001 999771 500001 999770 500001 999924 500001 999923 500001 999975 500001 9999...
result:
ok 58 points
Test #16:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
RRuuiiiiiiRummuRuumRmuiiiiuuui iRmRiiuiuRiumummumummuiumuuRRR iRmRiiuiuRiumummumummuiumuuRRR uRimmuumRmumRiuuRuiiRuuRimRRRm uRimmuumRmumRiuuRuiiRuuRimRRRm iRmRiiuiuRiumummumummuiumuuRRR iRmRiiuiuRiumummumummuiumuuRRR iuuiRuRiummRRimuRmiuuuiRiiuRmu iRmRiiuiuRiumummumummuiumuuRRR uRimmuumRmumRiuuRuiiR...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1000000 999999 0 500001 0 500001 0 833333 0 833332 0 944444 0 944443 0 981481 0 981480 0 993826 0 993825 0 997941 0 997940 0 999313 0 999312 0 999770 0 999769 0 999923 0 999922 0 999974 0 999973 0 999991 0 999990 0 999996 0 999995 0 999998 0 999997 0 99999...
result:
ok 34 points
Test #17:
score: 0
Accepted
time: 1ms
memory: 4136kb
input:
mRRuumRRmuRumRmimiimmiRiuiiRRm mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRu mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimmiRiuiiRRu mRRuumRRmuRumRmimiimmiRiuiiRRR mRRuumRRmuRumRmimiimm...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 1 833334 1 833333 1 944445 1 944444 1 981482 1 981481 1 993827 1 993826 1 997942 1 997941 1 999314 1 999313 1 999771 1 999770 1 999924 1 999923 1 999975 1 999974 1 999992 1 999991 1 999997 1 999996 1 999999 1 999998 1 999999 1 999999 333334 999999 1...
result:
ok 58 points
Test #18:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
miiuRimumuumRiRiuRiiiRuRRumiRu miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRm miiuRimumuumRiRiuRiiiRuRRumiRi miiuRimumuumRiRiuRiii...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 333333 1 222222 1 277777 1 314814 1 314813 1 327160 1 327159 1 331275 1 331274 1 332647 1 332646 1 333104 1 333103 1 333257 1 333256 1 333308 1 333307 1 333325 1 333324 1 333330 1 333329 1 333332 1 333331 1 333332 1 333332 333334 333332 333333...
result:
ok 59 points
Test #19:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
iummmimiimRimumiRuimRimRRiRmuR iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmum iummmimiimRimumiRuimRimRRiRmuu iummmimiimRimumiRuimRimRRiRmum iummmimiimRimumiRuimR...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 666668 500001 555557 500001 611113 500001 648150 500001 648149 500001 660495 500001 660494 500001 664610 500001 664609 500001 665982 500001 665981 500001 666439 500001 666438 500001 666592 500001 666591 500001 666643 500001 6666...
result:
ok 55 points
Test #20:
score: 0
Accepted
time: 0ms
memory: 4056kb
input:
uRimimimiRumimRiRmuRiuummRiiRm uRimimimiRumimRiRmuRiuummRiiRi uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiRR uRimimimiRumimRiRmuRiuummRiiR!
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 0 2 tot 6
result:
ok 6 points
Test #21:
score: 0
Accepted
time: 1ms
memory: 3852kb
input:
iumiimiRuimmuiRmuuuRiiRRmRiium iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRiiRRmRiiui iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRiiRRmRiiui iumiimiRuimmuiRmuuuRiiRRmRiiuR iumiimiRuimmuiRmuuuRi...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 833333 500001 944445 500001 944444 500001 981482 500001 981481 500001 993827 500001 993826 500001 997942 500001 997941 500001 999314 500001 999313 500001 999771 500001 999770 500001 999924 500001 999923 500001 999975 500001 9999...
result:
ok 57 points
Test #22:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
mmiuiimumiRiRuRuRmiRimRmuiimmu mmiuiimumiRiRuRuRmiRimRmuiimmi mmiuiimumiRiRuRuRmiRimRmuiimmi mmiuiimumiRiRuRuRmiRimRmuiimmR mmiuiimumiRiRuRuRmiRimRmuiimmR mmiuiimumiRiRuRuRmiRimRmuiimmi mmiuiimumiRiRuRuRmiRimRmuiimmi mmiuiimumiRiRuRuRmiRimRmuiimmm mmiuiimumiRiRuRuRmiRimRmuiimmi mmiuiimumiRiRuRuRmiRi...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1000000 999999 0 500001 0 500001 0 833333 0 833332 0 944444 0 944443 0 981481 0 981480 0 993826 0 993825 0 997941 0 997940 0 999313 0 999312 0 999770 0 999769 0 999923 0 999922 0 999974 0 999973 0 999991 0 999990 0 999996 0 999995 0 999998 tot 31
result:
ok 31 points
Test #23:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
umuuuiRmuRiummRRumimRRiimmiiim mRuiummRuRimmmRmmmuiiuuiuRimRR RuumRiiuumRmumRRuRiRmRiiimRiiu mRuiummRuRimmmRmmmuiiuuiuRimRR mRuiummRuRimmmRmmmuiiuuiuRimRR mRuiummRuRimmmRmmmuiiuuiuRimRR mRuiummRuRimmmRmmmuiiuuiuRimRR RuumRiiuumRmumRRuRiRmRiiimRiiu mRuiummRuRimmmRmmmuiiuuiuRimRR RuumRiiuumRmumRRuRiRm...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 1 833334 1 833333 1 944445 1 944444 1 981482 1 981481 1 993827 1 993826 1 997942 1 997941 1 999314 1 999313 1 999771 1 999770 1 999924 1 999923 1 999975 1 999974 1 999992 1 999991 1 999997 1 999996 1 999999 1 999998 1 999999 1 999999 333334 999999 1...
result:
ok 59 points
Test #24:
score: 0
Accepted
time: 1ms
memory: 3728kb
input:
immRuRRmmRuRiimRimiuuumuRiRmum uRmumuimRRmiuRuuumRmmuRRmiiRiR mRimuiuimmRRmmiuRmRimuuuumimRi uRmumuimRRmiuRuuumRmmuRRmiiRiR mRimuiuimmRRmmiuRmRimuuuumimRi uRmumuimRRmiuRuuumRmmuRRmiiRiR uRmumuimRRmiuRuuumRmmuRRmiiRiR uRmumuimRRmiuRuuumRmmuRRmiiRiR mRimuiuimmRRmmiuRmRimuuuumimRi uRmumuimRRmiuRuuumRmm...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 1 1 333334 1 333333 1 222222 1 277777 1 314814 1 314813 1 327160 1 327159 1 331275 1 331274 1 332647 1 332646 1 333104 1 333103 1 333257 1 333256 1 333308 1 333307 1 333325 1 333324 1 333330 1 333329 1 333332 1 333331 1 333332 1 333332 333334 333332 333333...
result:
ok 57 points
Test #25:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
iuRRmRRmRuuuumuuuuumuRuimuRiui mumumRimiumuRumumRiimRummiiiim mumumRimiumuRumumRiimRummiiiim mumumRimiumuRumumRiimRummiiiim mumumRimiumuRumumRiimRummiiiim mumumRimiumuRumumRiimRummiiiim umRuRiRmiiuuuuRuRumRmuiuRiRiRR mumumRimiumuRumumRiimRummiiiim umRuRiRmiiuuuuRuRumRmuiuRiRiRR mumumRimiumuRumumRiim...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 500001 500001 833334 500001 666668 500001 555557 500001 611113 500001 648150 500001 648149 500001 660495 500001 660494 500001 664610 500001 664609 500001 665982 500001 665981 500001 666439 500001 666438 500001 666592 500001 666591 500001 666643 500001 6666...
result:
ok 52 points
Test #26:
score: -100
Wrong Answer
time: 1ms
memory: 3776kb
input:
immRRmRuuRmRiRRmmuRiiuimiiumRu iuimuRRRmRiRiRimuiimmmuRmiuuRi uiRRuRiiumuimiiuiumRimRmmRRmim uiRRuRiiumuimiiuiumRimRmmRRmim uiRRuRiiumuimiiuiumRimRmmRRmim iuimuRRRmRiRiRimuiimmmuRmiuuRi miuiRmuiiumumRRmmmimiiuRmmmuiR uiRRuRiiumuimiiuiumRimRmmRRmim iuimuRRRmRiRiRimuiimmmuRmiuuRi uiRRuRiiumuimiiuiumRi...
output:
0 0 0 1 0 1000000 1 1000000 1000000 1000000 0 2 0 2 0 333334 0 333333 0 444445 0 444444 0 481482 0 481481 0 493827 0 493826 0 497942 0 497941 0 499314 0 499313 0 499771 0 499770 0 499924 0 499923 0 499975 0 499974 0 499992 0 499991 0 499997 0 499996 0 499999 0 499998 0 499999 0 500000
result:
wrong answer format Unexpected end of file - int32 expected