QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#203248#4006. A=Bfz_zslWA 1ms3588kbC++143.2kb2023-10-06 16:23:282023-10-06 16:23:29

Judging History

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

  • [2023-10-06 16:23:29]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3588kb
  • [2023-10-06 16:23:28]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize(2) 
#define LL long long
#define uLL unsigned long long
#define re register
#define LD __float128
#define DB double
#define ci const int
#define pii pair<int,int>
#define ppi pair<pii,int>
#define pll pair<LL,LL>
#define pb push_back
#define fi first
#define se second
#define mp make_pair
#define UI unsigned int
#define Int __int128
#define N 1003
// #define getchar gc
char gc() {
  // return getchar();
  const int SZ = 1 << 17;
  static char buf[SZ], *S, *T;
  if(S == T) T = (S = buf) + fread(buf, 1, SZ, stdin);
  return S == T ? EOF : *S ++;
}
void cmax(int& a,int b){
	(a<b)&&(a=b);
}
void cmin(int& a,int b){
	(a>b)&&(a=b);
}
void Read(int& a){
	char c=a=0,f=0;
	while(c<'0'||c>'9')c=getchar(),f|=c=='-';
	while(c>='0'&&c<='9')a=(a*10)+(c^'0'),c=getchar();
	f&&(a=-a);
}
void Read(LL& a){
	char c=a=0,f=0;
	while(c<'0'||c>'9')c=getchar(),f|=c=='-';
	while(c>='0'&&c<='9')a=(a*10)+(c^'0'),c=getchar();
	f&&(a=-a);
}
char Ssr[20];
void Print(LL a,char c='\n'){
//	cerr<<a<<endl;
	if(a<0)putchar('-'),a=-a;
	int len=0;
	while(a)Ssr[++len]='0'^(a%10),a/=10;
	len==0&&(Ssr[++len]='0');
	while(len)putchar(Ssr[len--]);
	putchar(c);
}
void cmax(LL& a,LL b){
	a<b&&(a=b);
}
void cmin(LL& a,LL b){
	a>b&&(a=b);
}
LL Rand(LL res=0,int len=12){
	for(;len;--len)res=res*10+rand()%10;
	return res;
}
bool Bar;
int n,m,a,b,P[N],Mk[N],_1,_0,p;
char S[N];
bool Ka;//real,imag
int main() {
//	printf("Memory:%lf\n",(&Ka-&Bar)/1024.0/1024.0);
	// freopen("A.in","r",stdin);
	// freopen("A.out","w",stdout);
	// n=66;
	// for(int i=1;i<=n;++i){
	// 	scanf("%s",S+1);
	// 	printf("puts(\"%s\");\n",S+1);
	// }
	puts("YE=(return)1");
	puts("DY=(return)0");

	puts("Da=DA");
	puts("Db=DB");
	puts("Dc=DC");
	
	puts("Aa=aA");
	puts("Ab=bA");
	puts("Ac=cA");
	puts("Ba=aB");
	puts("Bb=bB");
	puts("Bc=cB");
	puts("Ca=aC");
	puts("Cb=bC");
	puts("Cc=cC");

	


















	puts("xa=ax");
	puts("xb=bx");
	puts("xc=cx");
	puts("xE=Ex");
	puts("ya=ay");
	puts("yb=by");
	puts("yc=cy");
	puts("yE=Ey");
	puts("za=az");
	puts("zb=bz");
	puts("zc=cz");
	puts("zE=Ez");

	puts("AYa=Yx");
	puts("BYb=Yy");
	puts("CYc=Yz");

	puts("Ex=oE");
	puts("Ey=pE");
	puts("Ez=qE");

	puts("ao=oa");
	puts("bo=ob");
	puts("co=oc");
	puts("ap=pa");
	puts("bp=pb");
	puts("cp=pc");
	puts("aq=qa");
	puts("bq=qb");
	puts("cq=qc");
	
	puts("Ao=oa");
	puts("Bo=ob");
	puts("Co=oc");
	puts("Ap=pa");
	puts("Bp=pb");
	puts("Cp=pc");
	puts("Aq=qa");
	puts("Bq=qb");
	puts("Cq=qc");



	puts("Yoa=Yaa");
	puts("Yob=Yab");
	puts("Yoc=Yac");
	puts("YoE=YaE");
	puts("Yo=AYA");

	puts("Ypa=Yba");
	puts("Ypb=Ybb");
	puts("Ypc=Ybc");
	puts("YpE=YbE");
	puts("Yp=BYB");
	
	puts("Yqa=Yca");
	puts("Yqb=Ycb");
	puts("Yqc=Ycc");
	puts("YqE=YcE");
	puts("Yq=CYC");


	puts("AY=Y");
	puts("BY=Y");
	puts("CY=Y");
















	puts("aX=Da");
	puts("bX=Db");
	puts("cX=Dc");
	puts("aD=Da");
	puts("bD=Db");
	puts("cD=Dc");
	puts("Za=aE");
	puts("Zb=bE");
	puts("Zc=cE");
	puts("Ea=aE");
	puts("Eb=bE");
	puts("Ec=cE");
	puts("S=XYZ");

	return 0;
}

详细

Test #1:

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

input:

0

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba=aB
Bb=bB
Bc=cB
Ca=aC
Cb=bC
Cc=cC
xa=ax
xb=bx
xc=cx
xE=Ex
ya=ay
yb=by
yc=cy
yE=Ey
za=az
zb=bz
zc=cz
zE=Ez
AYa=Yx
BYb=Yy
CYc=Yz
Ex=oE
Ey=pE
Ez=qE
ao=oa
bo=ob
co=oc
ap=pa
bp=pb
cp=pc
aq=qa
bq=qb
cq=qc
Ao=oa
Bo=ob
Co=oc
Ap=pa
Bp=pb
Cp=pc
A...

result:

ok Test 0.

Test #2:

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

input:

100

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba=aB
Bb=bB
Bc=cB
Ca=aC
Cb=bC
Cc=cC
xa=ax
xb=bx
xc=cx
xE=Ex
ya=ay
yb=by
yc=cy
yE=Ey
za=az
zb=bz
zc=cz
zE=Ez
AYa=Yx
BYb=Yy
CYc=Yz
Ex=oE
Ey=pE
Ez=qE
ao=oa
bo=ob
co=oc
ap=pa
bp=pb
cp=pc
aq=qa
bq=qb
cq=qc
Ao=oa
Bo=ob
Co=oc
Ap=pa
Bp=pb
Cp=pc
A...

result:

ok Test 0.

Test #3:

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

input:

200

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba=aB
Bb=bB
Bc=cB
Ca=aC
Cb=bC
Cc=cC
xa=ax
xb=bx
xc=cx
xE=Ex
ya=ay
yb=by
yc=cy
yE=Ey
za=az
zb=bz
zc=cz
zE=Ez
AYa=Yx
BYb=Yy
CYc=Yz
Ex=oE
Ey=pE
Ez=qE
ao=oa
bo=ob
co=oc
ap=pa
bp=pb
cp=pc
aq=qa
bq=qb
cq=qc
Ao=oa
Bo=ob
Co=oc
Ap=pa
Bp=pb
Cp=pc
A...

result:

ok Test 0.

Test #4:

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

input:

300

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba=aB
Bb=bB
Bc=cB
Ca=aC
Cb=bC
Cc=cC
xa=ax
xb=bx
xc=cx
xE=Ex
ya=ay
yb=by
yc=cy
yE=Ey
za=az
zb=bz
zc=cz
zE=Ez
AYa=Yx
BYb=Yy
CYc=Yz
Ex=oE
Ey=pE
Ez=qE
ao=oa
bo=ob
co=oc
ap=pa
bp=pb
cp=pc
aq=qa
bq=qb
cq=qc
Ao=oa
Bo=ob
Co=oc
Ap=pa
Bp=pb
Cp=pc
A...

result:

ok Test 0.

Test #5:

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

input:

400

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba=aB
Bb=bB
Bc=cB
Ca=aC
Cb=bC
Cc=cC
xa=ax
xb=bx
xc=cx
xE=Ex
ya=ay
yb=by
yc=cy
yE=Ey
za=az
zb=bz
zc=cz
zE=Ez
AYa=Yx
BYb=Yy
CYc=Yz
Ex=oE
Ey=pE
Ez=qE
ao=oa
bo=ob
co=oc
ap=pa
bp=pb
cp=pc
aq=qa
bq=qb
cq=qc
Ao=oa
Bo=ob
Co=oc
Ap=pa
Bp=pb
Cp=pc
A...

result:

ok Test 0.

Test #6:

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

input:

500

output:

YE=(return)1
DY=(return)0
Da=DA
Db=DB
Dc=DC
Aa=aA
Ab=bA
Ac=cA
Ba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