QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#564609 | #1806. Character Grid | ship2077 | AC ✓ | 0ms | 3652kb | C++23 | 337b | 2024-09-15 11:19:50 | 2024-09-15 11:19:50 |
Judging History
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;
}
Details
Tip: Click on the bar to expand more detailed information
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