結果
| 問題 | No.2714 Amaou |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-30 20:29:08 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 98 ms / 2,000 ms |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 491 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-05-30 20:29:13 |
| 合計ジャッジ時間 | 4,397 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
| 純コード判定待ち |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
ソースコード
n = int(input())
che = ["akai","marui","okii","umai"]
ans = 0
for i in range(n):
count = 0
s = list(map(str,input().split()))
s_set = set(s)
for j in s_set:
if j in che:
count += 1
if count == 4:
ans += 1
print(ans)