QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#19818 | #1806. Character Grid | conqueror_of_zky# | WA | 3ms | 3576kb | C++14 | 535b | 2022-02-11 16:07:15 | 2022-05-06 07:14:01 |
Judging History
answer
#include <bits/stdc++.h>
//#define int long long
#define ll long long
#define db double
#define fi first
#define se second
#define pii pair<int,int>
#define vi vector<int>
using namespace std;
int a[15][15];
int main() {
cout<<13<<'\n';
for (int i=1;i<=13;i++) {
for (int j=1;j<=13;j++) {
if ((i+j)&1) {
a[i][j]=i-1;
}
else a[i][j]=j-1+13;
}
}
for (int i=1;i<=13;i++) {
for (int j=1;j<=13;j++) {
putchar(char(a[i][j]+'a'));
putchar(' ');
}
puts("");
}
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 3ms
memory: 3576kb
input:
output:
13 n a p a r a t a v a x a z b o b q b s b u b w b y b n c p c r c t c v c x c z d o d q d s d u d w d y d n e p e r e t e v e x e z f o f q f s f u f w f y f n g p g r g t g v g x g z h o h q h s h u h w h y h n i p i r i t i v i x i z j o j q j s j u j w j y j n k p k r k t k v k x k z ...
result:
wrong answer wrong answer