QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#90318#4006. A=BTTW#WA 2ms3476kbC++171.3kb2023-03-22 17:45:292023-03-22 17:45:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3436kb

input:

0

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #2:

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

input:

100

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #3:

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

input:

200

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #4:

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

input:

300

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #5:

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

input:

400

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #6:

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

input:

500

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

ok Test 0.

Test #7:

score: -100
Wrong Answer
time: 2ms
memory: 3356kb

input:

795913901

output:

S=XY
aX=Xa
bX=Xb
cX=Xc
X=ZP
PA=dp
PB=ep
PC=fp
pa=aP
pb=bP
pc=cP
p=(return)0
aA=Aa
aB=Ba
aC=Ca
bA=Ab
bB=Bb
bC=Cb
cA=Ac
cB=Bc
cC=Cc
Ya=AY
Yb=BY
Yc=CY
Pa=aP
Pb=bP
Pc=cP
Z=T1
1da=ad1
1eb=be1
1fc=cf1
1a=(return)1
1b=(return)1
1c=(return)1
1P=(return)1
1=0
0da=ad0
0db=bd0
0dc=cd0
0ea=ae0
0eb=be0
0ec=ce0
0...

result:

wrong answer WA on Test case 1. abcabbabcScabb 1