QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#52840#1806. Character GridTain_U#WA 0ms3676kbC++417b2022-10-04 15:30:022022-10-04 15:30:09

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-10-04 15:30:09]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3676kb
  • [2022-10-04 15:30:02]
  • 提交

answer

#include<iostream>
#include<algorithm>
#include<cstdio>
using namespace std;

int a[14][14];

int main(){
    for(int i=0;i<13;i++){
        for(int j=0;j<=i;j++){
            int x=i-j,y=j;
            a[x][y]=(i*(i+1)/2+j)%26;
            a[12-y][12-x]=a[x][y];
        }
    }
    for(int i=0;i<13;i++){
        for(int j=0;j<13;j++)printf("%c",a[i][j]+'a');printf("\n");
    }
    return 0;
}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3676kb

input:



output:

acfjoubjscnzm
beintairbmylz
dhmszhqalxkyn
glrygpzkwjxmc
kqxfoyjviwlbs
pwenxiuhvkarj
vdmwhtgujzqib
clvgsftiyphau
kufreshxogzto
teqdrgwnfysnj
dpcqfvmexrmif
obpeuldwqlhec
aodtkcvpkgdba

result:

wrong output format Expected integer, but "acfjoubjscnzm" found