QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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;
}
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