QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#458459#7276. A Light Inconvenienceegypt_ioi2024_05#35 103ms3860kbC++17659b2024-06-29 17:25:392024-06-29 17:25:41

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

\x03

output:


result:

ok Correct

Test #2:

score: -5
Wrong Answer
time: 1ms
memory: 3508kb

input:


output:


result:

wrong answer Not correct

Subtask #2:

score: 5
Accepted

Test #12:

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

input:

\x03

output:


result:

ok Correct

Test #13:

score: 0
Accepted
time: 80ms
memory: 3820kb

input:

!\x02

output:


result:

ok Correct

Test #14:

score: 0
Accepted
time: 16ms
memory: 3780kb

input:

\x02

output:


result:

ok Correct

Test #15:

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

input:

|\x02

output:


result:

ok Correct

Test #16:

score: 0
Accepted
time: 63ms
memory: 3552kb

input:


output:


result:

ok Correct

Test #17:

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

input:


output:


result:

ok Correct

Test #18:

score: 0
Accepted
time: 43ms
memory: 3788kb

input:

\x13\x02

output:


result:

ok Correct

Test #19:

score: 0
Accepted
time: 67ms
memory: 3624kb

input:

^\x02

output:


result:

ok Correct

Test #20:

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

input:

\x01

output:


result:

ok Correct

Test #21:

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

input:

[\x02

output:


result:

ok Correct

Test #22:

score: 0
Accepted
time: 6ms
memory: 3624kb

input:

)\x02

output:


result:

ok Correct

Test #23:

score: 0
Accepted
time: 52ms
memory: 3848kb

input:


output:


result:

ok Correct

Subtask #3:

score: 10
Accepted

Test #24:

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

input:

\x03

output:


result:

ok Correct

Test #25:

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

input:

!\x02

output:


result:

ok Correct

Test #26:

score: 0
Accepted
time: 30ms
memory: 3540kb

input:

\x02

output:


result:

ok Correct

Test #27:

score: 0
Accepted
time: 77ms
memory: 3660kb

input:

|\x02

output:


result:

ok Correct

Test #28:

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

input:

\x1b\x0e

output:


result:

ok Correct

Test #29:

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

input:

C\x0e

output:


result:

ok Correct

Test #30:

score: 0
Accepted
time: 2ms
memory: 3788kb

input:

c\x0f

output:


result:

ok Correct

Test #31:

score: 0
Accepted
time: 51ms
memory: 3784kb

input:


output:


result:

ok Correct

Test #32:

score: 0
Accepted
time: 7ms
memory: 3820kb

input:

\x06

output:


result:

ok Correct

Test #33:

score: 0
Accepted
time: 73ms
memory: 3820kb

input:

q\x0c

output:


result:

ok Correct

Test #34:

score: 0
Accepted
time: 64ms
memory: 3596kb

input:

!\x11

output:


result:

ok Correct

Test #35:

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

input:


output:


result:

ok Correct

Test #36:

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

input:

\x03

output:


result:

ok Correct

Test #37:

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

input:

6\x04

output:


result:

ok Correct

Test #38:

score: 0
Accepted
time: 47ms
memory: 3824kb

input:


output:


result:

ok Correct

Test #39:

score: 0
Accepted
time: 46ms
memory: 3824kb

input:

\\x11

output:


result:

ok Correct

Test #40:

score: 0
Accepted
time: 67ms
memory: 3816kb

input:


output:


result:

ok Correct

Test #41:

score: 0
Accepted
time: 3ms
memory: 3816kb

input:


output:


result:

ok Correct

Test #42:

score: 0
Accepted
time: 41ms
memory: 3852kb

input:

\x13\x02

output:


result:

ok Correct

Test #43:

score: 0
Accepted
time: 56ms
memory: 3860kb

input:

^\x02

output:


result:

ok Correct

Test #44:

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

input:

\x01

output:


result:

ok Correct

Test #45:

score: 0
Accepted
time: 36ms
memory: 3624kb

input:

[\x02

output:


result:

ok Correct

Test #46:

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

input:

)\x02

output:


result:

ok Correct

Test #47:

score: 0
Accepted
time: 80ms
memory: 3512kb

input:


output:


result:

ok Correct

Subtask #4:

score: 5
Accepted

Test #48:

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

input:

\x03

output:


result:

ok Correct

Test #49:

score: 0
Accepted
time: 57ms
memory: 3512kb

input:

!\x02

output:


result:

ok Correct

Test #50:

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

input:

\x02

output:


result:

ok Correct

Test #51:

score: 0
Accepted
time: 56ms
memory: 3556kb

input:

|\x02

output:


result:

ok Correct

Test #52:

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

input:

\x1b\x0e

output:


result:

ok Correct

Test #53:

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

input:

C\x0e

output:


result:

ok Correct

Test #54:

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

input:

c\x0f

output:


result:

ok Correct

Test #55:

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

input:


output:


result:

ok Correct

Test #56:

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

input:

\x06

output:


result:

ok Correct

Test #57:

score: 0
Accepted
time: 76ms
memory: 3556kb

input:

q\x0c

output:


result:

ok Correct

Test #58:

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

input:

!\x11

output:


result:

ok Correct

Test #59:

score: 0
Accepted
time: 30ms
memory: 3504kb

input:


output:


result:

ok Correct

Test #60:

score: 0
Accepted
time: 4ms
memory: 3848kb

input:

\x03

output:


result:

ok Correct

Test #61:

score: 0
Accepted
time: 51ms
memory: 3612kb

input:

6\x04

output:


result:

ok Correct

Test #62:

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

input:


output:


result:

ok Correct

Test #63:

score: 0
Accepted
time: 56ms
memory: 3624kb

input:

\\x11

output:


result:

ok Correct

Test #64:

score: 0
Accepted
time: 56ms
memory: 3624kb

input:


output:


result:

ok Correct

Test #65:

score: 0
Accepted
time: 4ms
memory: 3632kb

input:

n1

output:


result:

ok Correct

Test #66:

score: 0
Accepted
time: 12ms
memory: 3780kb

input:

	T

output:


result:

ok Correct

Test #67:

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

input:

HW

output:


result:

ok Correct

Test #68:

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

input:

>P

output:


result:

ok Correct

Test #69:

score: 0
Accepted
time: 52ms
memory: 3560kb

input:

\x01

output:


result:

ok Correct

Test #70:

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

input:


output:


result:

ok Correct

Test #71:

score: 0
Accepted
time: 73ms
memory: 3852kb

input:

.O

output:


result:

ok Correct

Test #72:

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

input:

U\x1d

output:


result:

ok Correct

Test #73:

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

input:

\x18

output:


result:

ok Correct

Test #74:

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

input:


output:


result:

ok Correct

Test #75:

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

input:

\x084

output:


result:

ok Correct

Test #76:

score: 0
Accepted
time: 69ms
memory: 3660kb

input:


output:


result:

ok Correct

Test #77:

score: 0
Accepted
time: 63ms
memory: 3784kb

input:

B\x15

output:


result:

ok Correct

Test #78:

score: 0
Accepted
time: 50ms
memory: 3560kb

input:

\x13\x02

output:


result:

ok Correct

Test #79:

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

input:

^\x02

output:


result:

ok Correct

Test #80:

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

input:

\x01

output:


result:

ok Correct

Test #81:

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

input:

[\x02

output:


result:

ok Correct

Test #82:

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

input:

)\x02

output:


result:

ok Correct

Test #83:

score: 0
Accepted
time: 63ms
memory: 3856kb

input:


output:


result:

ok Correct

Subtask #5:

score: 10
Accepted

Test #84:

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

input:

\x03

output:


result:

ok Correct

Test #85:

score: 0
Accepted
time: 56ms
memory: 3556kb

input:

!\x02

output:


result:

ok Correct

Test #86:

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

input:

\x02

output:


result:

ok Correct

Test #87:

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

input:

|\x02

output:


result:

ok Correct

Test #88:

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

input:

\x1b\x0e

output:


result:

ok Correct

Test #89:

score: 0
Accepted
time: 4ms
memory: 3552kb

input:

C\x0e

output:


result:

ok Correct

Test #90:

score: 0
Accepted
time: 4ms
memory: 3560kb

input:

c\x0f

output:


result:

ok Correct

Test #91:

score: 0
Accepted
time: 33ms
memory: 3820kb

input:


output:


result:

ok Correct

Test #92:

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

input:

\x06

output:


result:

ok Correct

Test #93:

score: 0
Accepted
time: 56ms
memory: 3660kb

input:

q\x0c

output:


result:

ok Correct

Test #94:

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

input:

!\x11

output:


result:

ok Correct

Test #95:

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

input:


output:


result:

ok Correct

Test #96:

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

input:

\x03

output:


result:

ok Correct

Test #97:

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

input:

6\x04

output:


result:

ok Correct

Test #98:

score: 0
Accepted
time: 51ms
memory: 3824kb

input:


output:


result:

ok Correct

Test #99:

score: 0
Accepted
time: 64ms
memory: 3552kb

input:

\\x11

output:


result:

ok Correct

Test #100:

score: 0
Accepted
time: 51ms
memory: 3652kb

input:


output:


result:

ok Correct

Test #101:

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

input:

n1

output:


result:

ok Correct

Test #102:

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

input:

	T

output:


result:

ok Correct

Test #103:

score: 0
Accepted
time: 6ms
memory: 3624kb

input:

HW

output:


result:

ok Correct

Test #104:

score: 0
Accepted
time: 61ms
memory: 3848kb

input:

>P

output:


result:

ok Correct

Test #105:

score: 0
Accepted
time: 35ms
memory: 3624kb

input:

\x01

output:


result:

ok Correct

Test #106:

score: 0
Accepted
time: 7ms
memory: 3556kb

input:


output:


result:

ok Correct

Test #107:

score: 0
Accepted
time: 59ms
memory: 3624kb

input:

.O

output:


result:

ok Correct

Test #108:

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

input:

U\x1d

output:


result:

ok Correct

Test #109:

score: 0
Accepted
time: 51ms
memory: 3560kb

input:

\x18

output:


result:

ok Correct

Test #110:

score: 0
Accepted
time: 67ms
memory: 3556kb

input:


output:


result:

ok Correct

Test #111:

score: 0
Accepted
time: 74ms
memory: 3560kb

input:

\x084

output:


result:

ok Correct

Test #112:

score: 0
Accepted
time: 54ms
memory: 3856kb

input:


output:


result:

ok Correct

Test #113:

score: 0
Accepted
time: 54ms
memory: 3852kb

input:

B\x15

output:


result:

ok Correct

Test #114:

score: 0
Accepted
time: 101ms
memory: 3852kb

input:

\x0e)\x01

output:


result:

ok Correct

Test #115:

score: 0
Accepted
time: 67ms
memory: 3556kb

input:


output:


result:

ok Correct

Test #116:

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

input:


output:


result:

ok Correct

Test #117:

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

input:

\x13\x02

output:


result:

ok Correct

Test #118:

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

input:


output:


result:

ok Correct

Test #119:

score: 0
Accepted
time: 35ms
memory: 3556kb

input:

\x02

output:


result:

ok Correct

Test #120:

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

input:


output:


result:

ok Correct

Test #121:

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

input:

h

output:


result:

ok Correct

Test #122:

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

input:

\x04

output:


result:

ok Correct

Test #123:

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

input:


output:


result:

ok Correct

Test #124:

score: 0
Accepted
time: 82ms
memory: 3556kb

input:

XM\x01

output:


result:

ok Correct

Test #125:

score: 0
Accepted
time: 52ms
memory: 3552kb

input:

v

output:


result:

ok Correct

Test #126:

score: 0
Accepted
time: 38ms
memory: 3660kb

input:


output:


result:

ok Correct

Test #127:

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

input:

^\x02

output:


result:

ok Correct

Test #128:

score: 0
Accepted
time: 2ms
memory: 3612kb

input:

\x01

output:


result:

ok Correct

Test #129:

score: 0
Accepted
time: 53ms
memory: 3820kb

input:

[\x02

output:


result:

ok Correct

Test #130:

score: 0
Accepted
time: 3ms
memory: 3784kb

input:

)\x02

output:


result:

ok Correct

Test #131:

score: 0
Accepted
time: 48ms
memory: 3556kb

input:


output:


result:

ok Correct

Subtask #6:

score: 5
Accepted

Test #132:

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

input:

\x03

output:


result:

ok Correct

Test #133:

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

input:

!\x02

output:


result:

ok Correct

Test #134:

score: 0
Accepted
time: 4ms
memory: 3852kb

input:

\x02

output:


result:

ok Correct

Test #135:

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

input:

|\x02

output:


result:

ok Correct

Test #136:

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

input:

\x1b\x0e

output:


result:

ok Correct

Test #137:

score: 0
Accepted
time: 3ms
memory: 3596kb

input:

C\x0e

output:


result:

ok Correct

Test #138:

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

input:

c\x0f

output:


result:

ok Correct

Test #139:

score: 0
Accepted
time: 50ms
memory: 3512kb

input:


output:


result:

ok Correct

Test #140:

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

input:

\x06

output:


result:

ok Correct

Test #141:

score: 0
Accepted
time: 42ms
memory: 3612kb

input:

q\x0c

output:


result:

ok Correct

Test #142:

score: 0
Accepted
time: 48ms
memory: 3852kb

input:

!\x11

output:


result:

ok Correct

Test #143:

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

input:


output:


result:

ok Correct

Test #144:

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

input:

\x03

output:


result:

ok Correct

Test #145:

score: 0
Accepted
time: 51ms
memory: 3848kb

input:

6\x04

output:


result:

ok Correct

Test #146:

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

input:


output:


result:

ok Correct

Test #147:

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

input:

\\x11

output:


result:

ok Correct

Test #148:

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

input:


output:


result:

ok Correct

Test #149:

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

input:

n1

output:


result:

ok Correct

Test #150:

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

input:

	T

output:


result:

ok Correct

Test #151:

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

input:

HW

output:


result:

ok Correct

Test #152:

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

input:

>P

output:


result:

ok Correct

Test #153:

score: 0
Accepted
time: 66ms
memory: 3660kb

input:

\x01

output:


result:

ok Correct

Test #154:

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

input:


output:


result:

ok Correct

Test #155:

score: 0
Accepted
time: 86ms
memory: 3568kb

input:

.O

output:


result:

ok Correct

Test #156:

score: 0
Accepted
time: 49ms
memory: 3624kb

input:

U\x1d

output:


result:

ok Correct

Test #157:

score: 0
Accepted
time: 53ms
memory: 3624kb

input:

\x18

output:


result:

ok Correct

Test #158:

score: 0
Accepted
time: 103ms
memory: 3624kb

input:


output:


result:

ok Correct

Test #159:

score: 0
Accepted
time: 56ms
memory: 3568kb

input:

\x084

output:


result:

ok Correct

Test #160:

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

input:


output:


result:

ok Correct

Test #161:

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

input:

B\x15

output:


result:

ok Correct

Test #162:

score: 0
Accepted
time: 45ms
memory: 3860kb

input:

\x0e)\x01

output:


result:

ok Correct

Test #163:

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

input:


output:


result:

ok Correct

Test #164:

score: 0
Accepted
time: 56ms
memory: 3624kb

input:


output:


result:

ok Correct

Test #165:

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

input:

\x13\x02

output:


result:

ok Correct

Test #166:

score: 0
Accepted
time: 58ms
memory: 3772kb

input:


output:


result:

ok Correct

Test #167:

score: 0
Accepted
time: 47ms
memory: 3624kb

input:

\x02

output:


result:

ok Correct

Test #168:

score: 0
Accepted
time: 102ms
memory: 3624kb

input:


output:


result:

ok Correct

Test #169:

score: 0
Accepted
time: 46ms
memory: 3560kb

input:

h

output:


result:

ok Correct

Test #170:

score: 0
Accepted
time: 33ms
memory: 3860kb

input:

\x04

output:


result:

ok Correct

Test #171:

score: 0
Accepted
time: 41ms
memory: 3560kb

input:


output:


result:

ok Correct

Test #172:

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

input:

XM\x01

output:


result:

ok Correct

Test #173:

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

input:

v

output:


result:

ok Correct

Test #174:

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

input:


output:


result:

ok Correct

Test #175:

score: 0
Accepted
time: 39ms
memory: 3860kb

input:


output:


result:

ok Correct

Test #176:

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

input:

^\x02

output:


result:

ok Correct

Test #177:

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

input:


output:


result:

ok Correct

Test #178:

score: 0
Accepted
time: 62ms
memory: 3856kb

input:


output:


result:

ok Correct

Test #179:

score: 0
Accepted
time: 53ms
memory: 3820kb

input:

٨\x01

output:


result:

ok Correct

Test #180:

score: 0
Accepted
time: 76ms
memory: 3860kb

input:


output:


result:

ok Correct

Test #181:

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

input:

\x13

output:


result:

ok Correct

Test #182:

score: 0
Accepted
time: 38ms
memory: 3860kb

input:

Z3\x06

output:


result:

ok Correct

Test #183:

score: 0
Accepted
time: 55ms
memory: 3856kb

input:


output:


result:

ok Correct

Test #184:

score: 0
Accepted
time: 75ms
memory: 3512kb

input:

k_\x05

output:


result:

ok Correct

Test #185:

score: 0
Accepted
time: 53ms
memory: 3660kb

input:

o

output:


result:

ok Correct

Test #186:

score: 0
Accepted
time: 66ms
memory: 3624kb

input:


output:


result:

ok Correct

Test #187:

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

input:

\x01

output:


result:

ok Correct

Test #188:

score: 0
Accepted
time: 52ms
memory: 3780kb

input:


output:


result:

ok Correct

Test #189:

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

input:

[\x02

output:


result:

ok Correct

Test #190:

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

input:

)\x02

output:


result:

ok Correct

Test #191:

score: 0
Accepted
time: 50ms
memory: 3820kb

input:


output:


result:

ok Correct

Subtask #7:

score: 0
Wrong Answer

Test #192:

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

input:

\x03

output:


result:

ok Correct

Test #193:

score: 0
Wrong Answer
time: 1ms
memory: 3620kb

input:


output:


result:

wrong answer Not correct