QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#340105#1806. Character GridHKOI0#WA 0ms3564kbC++14608b2024-02-28 15:03:122024-02-28 15:03:12

Judging History

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

  • [2024-02-28 15:03:12]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3564kb
  • [2024-02-28 15:03:12]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;
using ll = long long;

char c[13][13];
void solve() {
    cout << 13 << '\n';
    for (int i = 0; i < 13; i++) {
        for (int j = 0; j < 13; j++) {
            c[i][j] = 'a' + (i * (j * 2 + 1)) % 26;
        }
    }
    for (int i = 0; i < 13; i++) {
        for (int j = 0; j < 13; j++) {
            cout << c[i][j];
        }
        cout << '\n';
    }
}

int32_t main() {
#ifndef LOCAL
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
#endif
    int T = 1;
    // cin >> T;
    while (T--) solve();
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:



output:

13
aaaaaaaaaaaaa
bdfhjlnprtvxz
cgkoswaeimquy
djpvbhntzflrx
emucksaiqygow
fpzjtdnxhrblv
gseqcoamykwiu
hvjxlznbpdrft
iyoeukaqgwmcs
jbtldvnfxphzr
keysmgauoicwq
lhdzvrnjfbxtp
mkigecaywusqo

result:

wrong answer wrong answer