結果

問題 No.2268 NGワード回避
ユーザー 👑 CleyL
提出日時 2023-04-21 09:04:38
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 609 ms
コンパイル使用メモリ 69,732 KB
最終ジャッジ日時 2025-02-12 10:52:10
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 46 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
using namespace std;
int main(){
    int n;cin>>n;
    char c;
    for(int i = 0; n > i; i++){
        for(int j = 0; n > j; j++){
            cin>>c;
            if(i==j)cout << c;
        }
    }
    cout << endl;
}
0