結果
| 問題 |
No.3232 Not Tic Tac Toe
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-18 20:53:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 233 bytes |
| コンパイル時間 | 263 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2025-08-18 20:53:59 |
| 合計ジャッジ時間 | 12,365 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 WA * 11 |
ソースコード
h, w = map(int, input().split())
m = ['O', 'X']
i = 0
f = 0
while i < h:
s = ''
for j in range(w):
s += m[f]
f ^= 1
if w % 2 == 0:
f ^= 1
print(s)
if i + 2 < h:
print(s)
i += 2