結果
| 問題 |
No.349 干支の置き物
|
| コンテスト | |
| ユーザー |
suuuuuuuuuuuuuwaaaaaaaa
|
| 提出日時 | 2017-03-01 13:33:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 432 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-12 05:05:09 |
| 合計ジャッジ時間 | 2,089 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 29 |
ソースコード
n = int(input())
eto_list=list()
for dummy1 in range(n):
eto_list.append(input())
eto_name=["ne","ushi","tora","u","tatsu","mi","uma","hitsuji","saru","tori","inu","i"]
eto_count = list()
for count in range(len(eto_name)):
eto_count.append(eto_list.count(eto_name[count]))
YorN = 1
standpoint = int((n+1)/2)
for count2 in range(eto_count):
YorN = YorN*(count2<=standpoint)
if YorN:
print("YES")
else:
print("NO")
suuuuuuuuuuuuuwaaaaaaaa