結果

問題 No.892 タピオカ
ユーザー _KingdomOfMoray_KingdomOfMoray
提出日時 2019-12-02 06:24:07
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 14 ms / 1,000 ms
コード長 294 bytes
コンパイル時間 1,192 ms
コンパイル使用メモリ 10,484 KB
実行使用メモリ 7,912 KB
最終ジャッジ日時 2023-08-14 14:17:45
合計ジャッジ時間 1,452 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,748 KB
testcase_01 AC 14 ms
7,912 KB
testcase_02 AC 13 ms
7,796 KB
testcase_03 AC 14 ms
7,736 KB
testcase_04 AC 13 ms
7,744 KB
testcase_05 AC 14 ms
7,896 KB
testcase_06 AC 14 ms
7,760 KB
testcase_07 AC 14 ms
7,796 KB
testcase_08 AC 14 ms
7,748 KB
権限があれば一括ダウンロードができます

ソースコード

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