結果
| 問題 |
No.3232 Not Tic Tac Toe
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-30 10:36:01 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 332 bytes |
| コンパイル時間 | 715 ms |
| コンパイル使用メモリ | 80,368 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-07-22 22:29:53 |
| 合計ジャッジ時間 | 6,636 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 6 WA * 21 |
ソースコード
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
int H, W;
cin >> H >> W;
for(int y=0; y<H; y++){
for(int x=0; x<W; x++){
if(x%2 == y%2)
cout << "O";
else
cout << "X";
}
cout << endl;
}
return 0;
}