結果

問題 No.2714 Amaou
ユーザー Theta
提出日時 2024-04-10 14:52:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 82,572 KB
実行使用メモリ 52,608 KB
最終ジャッジ日時 2024-10-02 16:37:41
合計ジャッジ時間 2,478 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    sentences = {"akai", "marui", "okii", "umai"}
    N = int(input())
    ctr = 0
    for _ in range(N):
        features = set(input().split())
        if sentences == features:
            ctr += 1
    print(ctr)


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