結果

問題 No.3232 Not Tic Tac Toe
ユーザー Unbakedbread
提出日時 2025-08-23 23:02:07
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 253 bytes
コンパイル時間 2,644 ms
コンパイル使用メモリ 275,756 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-08-23 23:02:16
合計ジャッジ時間 8,341 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(void) {
	int H, W;
	cin >> H >> W;
	
	for(int i = 0; i < H; ++i) {
		for(int j = 0; j < W; ++j) {
			if((i / 2 + j) % 2 == 1) cout << "O";
			else cout << "W";
		}
		cout << endl;
	}
	
	return 0;
}
0