QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#422570#7281. How to Avoid Disqualification in 75 Easy StepsZ_301100 ✓1ms3892kbC++1712.7kb2024-05-27 16:28:412024-05-27 16:28:42

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3632kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #2:

score: 10
Accepted
time: 0ms
memory: 3600kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #3:

score: 10
Accepted
time: 1ms
memory: 3664kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #4:

score: 10
Accepted
time: 1ms
memory: 3664kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #5:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #6:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #7:

score: 10
Accepted
time: 1ms
memory: 3636kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #8:

score: 10
Accepted
time: 1ms
memory: 3632kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #9:

score: 10
Accepted
time: 1ms
memory: 3836kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #10:

score: 10
Accepted
time: 1ms
memory: 3580kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Subtask #2:

score: 5
Accepted

Test #11:

score: 5
Accepted
time: 1ms
memory: 3860kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #12:

score: 5
Accepted
time: 1ms
memory: 3800kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #13:

score: 5
Accepted
time: 1ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #14:

score: 5
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #15:

score: 5
Accepted
time: 0ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #16:

score: 5
Accepted
time: 0ms
memory: 3580kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #17:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #18:

score: 5
Accepted
time: 1ms
memory: 3792kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #19:

score: 5
Accepted
time: 1ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #20:

score: 5
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #21:

score: 5
Accepted
time: 1ms
memory: 3796kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #22:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #23:

score: 5
Accepted
time: 1ms
memory: 3636kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #24:

score: 5
Accepted
time: 1ms
memory: 3864kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #25:

score: 5
Accepted
time: 1ms
memory: 3624kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #26:

score: 5
Accepted
time: 1ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #27:

score: 5
Accepted
time: 1ms
memory: 3524kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #28:

score: 5
Accepted
time: 1ms
memory: 3864kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #29:

score: 5
Accepted
time: 0ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #30:

score: 5
Accepted
time: 1ms
memory: 3588kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #31:

score: 5
Accepted
time: 0ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #32:

score: 5
Accepted
time: 1ms
memory: 3576kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #33:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #34:

score: 5
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #35:

score: 5
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #36:

score: 5
Accepted
time: 1ms
memory: 3576kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #37:

score: 5
Accepted
time: 1ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #38:

score: 5
Accepted
time: 1ms
memory: 3868kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #39:

score: 5
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #40:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #41:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #42:

score: 5
Accepted
time: 1ms
memory: 3600kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #43:

score: 5
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #44:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #45:

score: 5
Accepted
time: 1ms
memory: 3796kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #46:

score: 5
Accepted
time: 0ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #47:

score: 5
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #48:

score: 5
Accepted
time: 1ms
memory: 3636kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #49:

score: 5
Accepted
time: 0ms
memory: 3600kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #50:

score: 5
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 18 robot(s) used, 18 hour(s) passed

Test #51:

score: 5
Accepted
time: 1ms
memory: 3864kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #52:

score: 5
Accepted
time: 1ms
memory: 3636kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #53:

score: 5
Accepted
time: 1ms
memory: 3824kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #54:

score: 5
Accepted
time: 0ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #55:

score: 5
Accepted
time: 1ms
memory: 3624kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #56:

score: 5
Accepted
time: 0ms
memory: 3828kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #57:

score: 5
Accepted
time: 0ms
memory: 3864kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #58:

score: 5
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #59:

score: 5
Accepted
time: 0ms
memory: 3576kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #60:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #61:

score: 5
Accepted
time: 0ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #62:

score: 5
Accepted
time: 1ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #63:

score: 5
Accepted
time: 1ms
memory: 3624kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #64:

score: 5
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #65:

score: 5
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Subtask #3:

score: 10
Accepted

Test #66:

score: 10
Accepted
time: 1ms
memory: 3808kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #67:

score: 10
Accepted
time: 1ms
memory: 3580kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #68:

score: 10
Accepted
time: 1ms
memory: 3880kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #69:

score: 10
Accepted
time: 0ms
memory: 3592kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #70:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #71:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #72:

score: 10
Accepted
time: 1ms
memory: 3592kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #73:

score: 10
Accepted
time: 1ms
memory: 3648kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #74:

score: 10
Accepted
time: 1ms
memory: 3580kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #75:

score: 10
Accepted
time: 0ms
memory: 3616kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #76:

score: 10
Accepted
time: 0ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #77:

score: 10
Accepted
time: 1ms
memory: 3676kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #78:

score: 10
Accepted
time: 1ms
memory: 3656kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #79:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #80:

score: 10
Accepted
time: 1ms
memory: 3892kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #81:

score: 10
Accepted
time: 1ms
memory: 3644kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #82:

score: 10
Accepted
time: 1ms
memory: 3644kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #83:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #84:

score: 10
Accepted
time: 1ms
memory: 3580kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #85:

score: 10
Accepted
time: 1ms
memory: 3656kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #86:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #87:

score: 10
Accepted
time: 0ms
memory: 3656kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #88:

score: 10
Accepted
time: 1ms
memory: 3880kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #89:

score: 10
Accepted
time: 1ms
memory: 3592kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #90:

score: 10
Accepted
time: 1ms
memory: 3648kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #91:

score: 10
Accepted
time: 1ms
memory: 3576kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #92:

score: 10
Accepted
time: 1ms
memory: 3884kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #93:

score: 10
Accepted
time: 1ms
memory: 3580kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #94:

score: 10
Accepted
time: 1ms
memory: 3884kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #95:

score: 10
Accepted
time: 1ms
memory: 3848kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #96:

score: 10
Accepted
time: 1ms
memory: 3648kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #97:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #98:

score: 10
Accepted
time: 1ms
memory: 3684kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #99:

score: 10
Accepted
time: 1ms
memory: 3612kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #100:

score: 10
Accepted
time: 1ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #101:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #102:

score: 10
Accepted
time: 1ms
memory: 3876kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #103:

score: 10
Accepted
time: 1ms
memory: 3612kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #104:

score: 10
Accepted
time: 1ms
memory: 3880kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #105:

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

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #106:

score: 10
Accepted
time: 1ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #107:

score: 10
Accepted
time: 1ms
memory: 3808kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #108:

score: 10
Accepted
time: 1ms
memory: 3532kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #109:

score: 10
Accepted
time: 1ms
memory: 3684kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #110:

score: 10
Accepted
time: 1ms
memory: 3840kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #111:

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

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #112:

score: 10
Accepted
time: 0ms
memory: 3620kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #113:

score: 10
Accepted
time: 1ms
memory: 3616kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #114:

score: 10
Accepted
time: 0ms
memory: 3640kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #115:

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

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #116:

score: 10
Accepted
time: 1ms
memory: 3636kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #117:

score: 10
Accepted
time: 0ms
memory: 3680kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #118:

score: 10
Accepted
time: 0ms
memory: 3676kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #119:

score: 10
Accepted
time: 0ms
memory: 3812kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Subtask #4:

score: 75
Accepted

Test #120:

score: 75
Accepted
time: 1ms
memory: 3876kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #121:

score: 75
Accepted
time: 1ms
memory: 3652kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #122:

score: 75
Accepted
time: 1ms
memory: 3652kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #123:

score: 75
Accepted
time: 1ms
memory: 3840kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #124:

score: 75
Accepted
time: 1ms
memory: 3652kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #125:

score: 75
Accepted
time: 1ms
memory: 3580kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #126:

score: 75
Accepted
time: 1ms
memory: 3620kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #127:

score: 75
Accepted
time: 1ms
memory: 3808kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #128:

score: 75
Accepted
time: 1ms
memory: 3884kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #129:

score: 75
Accepted
time: 1ms
memory: 3648kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #130:

score: 75
Accepted
time: 1ms
memory: 3876kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #131:

score: 75
Accepted
time: 1ms
memory: 3648kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #132:

score: 75
Accepted
time: 1ms
memory: 3652kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #133:

score: 75
Accepted
time: 1ms
memory: 3644kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #134:

score: 75
Accepted
time: 1ms
memory: 3880kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Extra Test:

score: 0
Extra Test Passed