QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#340105 | #1806. Character Grid | HKOI0# | WA | 0ms | 3564kb | C++14 | 608b | 2024-02-28 15:03:12 | 2024-02-28 15:03:12 |
Judging History
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;
}
详细
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