QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#19818#1806. Character Gridconqueror_of_zky#WA 3ms3576kbC++14535b2022-02-11 16:07:152022-05-06 07:14:01

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-05-06 07:14:01]
  • 评测
  • 测评结果:WA
  • 用时:3ms
  • 内存:3576kb
  • [2022-02-11 16:07:15]
  • 提交

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;
}

Details

Tip: Click on the bar to expand more detailed information

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