結果

問題 No.870 無敵囲い
ユーザー cologne
提出日時 2023-07-14 13:17:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-09-15 22:24:00
合計ジャッジ時間 1,706 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 8 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    A = [input() for i in range(N)]
    if '2 8 5 8' in A and '3 9 4 8' in A and '7 9 6 8' in A:
        print('YES')
    else:
        print('NO')


if __name__ == '__main__':
    main()
0