結果

問題 No.2714 Amaou
ユーザー hato336hato336
提出日時 2024-04-05 21:21:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 496 bytes
コンパイル時間 166 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 85,048 KB
最終ジャッジ日時 2024-04-05 21:21:54
合計ジャッジ時間 4,237 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
85,048 KB
testcase_01 AC 127 ms
85,048 KB
testcase_02 AC 112 ms
85,048 KB
testcase_03 AC 106 ms
85,048 KB
testcase_04 AC 108 ms
85,048 KB
testcase_05 AC 109 ms
85,048 KB
testcase_06 AC 131 ms
85,048 KB
testcase_07 AC 109 ms
85,048 KB
testcase_08 AC 117 ms
85,048 KB
testcase_09 AC 110 ms
85,048 KB
testcase_10 AC 116 ms
85,048 KB
testcase_11 AC 107 ms
85,048 KB
testcase_12 AC 107 ms
85,048 KB
testcase_13 AC 109 ms
85,048 KB
testcase_14 AC 106 ms
85,048 KB
testcase_15 AC 109 ms
85,048 KB
testcase_16 AC 109 ms
85,048 KB
testcase_17 AC 110 ms
85,048 KB
testcase_18 AC 107 ms
85,048 KB
testcase_19 AC 107 ms
85,048 KB
testcase_20 AC 110 ms
85,048 KB
testcase_21 AC 118 ms
85,048 KB
testcase_22 AC 109 ms
85,048 KB
testcase_23 AC 111 ms
85,048 KB
testcase_24 AC 110 ms
85,048 KB
testcase_25 AC 108 ms
85,048 KB
testcase_26 AC 108 ms
85,048 KB
testcase_27 AC 107 ms
85,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
n = int(input())
ans = 0
s = set(['akai','marui','okii','umai'])
#alist = list(map(int,input().split()))
#alist = []
#s = input()
#n,m = map(int,input().split())
#for i in range(n):
#    alist.append(list(map(int,input().split())))
for i in range(n):
    ans += 1 if set(input().split()) == s else 0
print(ans)
0