結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー nawawan
提出日時 2022-05-20 21:46:43
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 342 bytes
コンパイル時間 2,109 ms
コンパイル使用メモリ 197,188 KB
最終ジャッジ日時 2025-01-29 10:25:07
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
    vector<string> s(3), t(3);
    s[0] = "#.#";
    s[1] = ".#.";
    s[2] = s[0];
    t[0] = s[1];
    t[1] = s[0];
    t[2] = t[0];
    vector<string> S(3);
    for(int i = 0; i < 3; i++) cin >> S[i];
    if(S == s || S == t) cout << "Yes" << endl;
    else cout << "No" << endl;
}
0