結果

問題 No.3232 Not Tic Tac Toe
ユーザー ゼリトキ
提出日時 2025-08-15 21:29:50
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 549 bytes
コンパイル時間 3,228 ms
コンパイル使用メモリ 275,332 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2025-08-15 21:30:11
合計ジャッジ時間 9,352 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define ll long long
const long long mod=998244353;
const long long hmod=46216567629137;
int main(){
    cin.tie(0)->sync_with_stdio(0);
    cout.tie(0);
    int H,W;
    cin>>H>>W;
    char ans[H+1][W+1];
    for(int i=0;i<H;i++){
        for(int j=0;j<W;j++){
            int n=((i%3)*3+(j%3+1));
            if(n==1||n==5||n==6||n==8) ans[i][j]='x';
            else ans[i][j]='o';
            cout<<ans[i][j];
        }
        cout<<endl;
    }

}
0