結果
| 問題 |
No.3232 Not Tic Tac Toe
|
| コンテスト | |
| ユーザー |
SnowBeenDiding
|
| 提出日時 | 2025-08-15 21:22:04 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 485 bytes |
| コンパイル時間 | 5,112 ms |
| コンパイル使用メモリ | 335,440 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-08-15 21:22:19 |
| 合計ジャッジ時間 | 10,451 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 6 WA * 21 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
#define rep(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
using namespace atcoder;
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << fixed << setprecision(12);
int h, w;
cin >> h >> w;
rep(i, 0, h) {
rep(j, 0, w) {
int o = (i / 2 % 2) ^ (j / 2 % 2);
cout << (o ? 'O' : 'X');
}
cout << '\n';
}
}
SnowBeenDiding