QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#564609#1806. Character Gridship2077AC ✓0ms3652kbC++23337b2024-09-15 11:19:502024-09-15 11:19:50

Judging History

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

  • [2024-09-15 11:19:50]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3652kb
  • [2024-09-15 11:19:50]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
char a[14][14];
int main(){
	puts("13");
	for (int i=0;i<13;i++)
		for (int j=i&1;j<13;j+=2)
			a[i][j]=i+'a';
	for (int i=0;i<13;i++)
		for (int j=i+1&1;j<13;j+=2)
			a[j][i]=i+13+'a';
	for (int i=0;i<13;puts(""),i++)
		for (int j=0;j<13;j++)
			putchar(a[i][j]);
	return 0;
}

详细

Test #1:

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

input:



output:

13
aoaqasauawaya
nbpbrbtbvbxbz
cocqcscucwcyc
ndpdrdtdvdxdz
eoeqeseueweye
nfpfrftfvfxfz
gogqgsgugwgyg
nhphrhthvhxhz
ioiqisiuiwiyi
njpjrjtjvjxjz
kokqkskukwkyk
nlplrltlvlxlz
momqmsmumwmym

result:

ok accepted