結果
| 問題 |
No.3232 Not Tic Tac Toe
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-15 21:23:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 207 bytes |
| コンパイル時間 | 217 ms |
| コンパイル使用メモリ | 82,752 KB |
| 実行使用メモリ | 147,304 KB |
| 最終ジャッジ日時 | 2025-08-15 21:23:18 |
| 合計ジャッジ時間 | 7,889 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 6 WA * 21 |
ソースコード
H,W=map(int,input().split())
ans=[["O" for _ in range(W)] for _ in range(H)]
for h in range(H):
w=0 if h%2==0 else 1
while w<W:
ans[h][w]="X"
w+=2
for a in ans:
print("".join(a))