結果
| 問題 |
No.2714 Amaou
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-09 11:40:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 2,000 ms |
| コード長 | 372 bytes |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-16 00:14:12 |
| 合計ジャッジ時間 | 2,310 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
ソースコード
n=int(input())
S = [input().split() for i in range(n)]
cnt=0
for i in range(n):
a=0
b=0
c=0
d=0
for j in range(4):
if(S[i][j]=="akai"):
a=1
if(S[i][j]=="marui"):
b=1
if(S[i][j]=="okii"):
c=1
if(S[i][j]=="umai"):
d=1
if a and b and c and d:
cnt+=1
print(cnt)