QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#203347#4006. A=BzhouyixianWA 0ms3692kbC++14786b2023-10-06 16:52:162023-10-06 16:52:18

Judging History

你现在查看的是最新测评结果

  • [2023-10-06 16:52:18]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3692kb
  • [2023-10-06 16:52:16]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

string code=R"X(S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1ba=b1a
1bb=b1b
1bc=b1c
1ca=c1a
1cb=c1b
1cc=c1c
2aa=a2a
2ab=a2b
2ac=a2c
2ba=b2a
2bb=b2b
2bc=b2c
2ca=c2a
2cb=c2b
2cc=c2c
3aa=a3a
3ab=a3b
3ac=a3c
3ba=b3a
3bb=b3b
3bc=b3c
3ca=c3a
3cb=c3b
3cc=c3c
1b=19b
1c=19c
2a=29a
2c=29c
3a=39a
3b=39b
=(return)1
)X";

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);
	int tid;
	cin>>tid;
	cout<<code;
}

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3672kb

input:

0

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #2:

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

input:

100

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #3:

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

input:

200

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #4:

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

input:

300

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #5:

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

input:

400

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #6:

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

input:

500

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

ok Test 0.

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 3672kb

input:

795913901

output:

S=XM
aX=Xa
bX=Xb
cX=Xc
XAa=1aX
XAb=1bX
XAc=1cX
XBa=2aX
XBb=2bX
XBc=2cX
XCa=3aX
XCb=3bX
XCc=3cX
aA=Aa
bA=Ab
cA=Ac
aB=Ba
bB=Bb
cB=Bc
aC=Ca
bC=Cb
cC=Cc
Ma=AM
Mb=BM
Mc=CM
A=(return)0
B=(return)0
C=(return)0
9X=Y
91=19
92=29
93=39
9a=a9
9b=b9
9c=c9
YM=(return)0
Ya=aX
Yb=bX
Yc=cX
1aa=a1a
1ab=a1b
1ac=a1c
1...

result:

wrong answer WA on Test case 2. abcabbabcScbabb 0