結果

問題 No.892 タピオカ
ユーザー _KingdomOfMoray
提出日時 2019-12-02 06:24:07
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 294 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-22 12:01:34
合計ジャッジ時間 1,187 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

input_params = list(map(int,input().split()))

alist = []
for i in range(len(input_params)):
    if i % 2 == 0:
        alist.append(input_params[i])
        
alist_even = [a for a in alist if a % 2 == 0]

if len(alist_even) == 1 or len(alist_even) == 3:
    print(':-)')
else:
    print(':-(')
0