結果

問題 No.892 タピオカ
ユーザー buriburiburiburi
提出日時 2019-10-14 11:47:02
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 15 ms / 1,000 ms
コード長 174 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-08-25 01:26:06
合計ジャッジ時間 1,220 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,908 KB
testcase_01 AC 14 ms
7,912 KB
testcase_02 AC 14 ms
7,964 KB
testcase_03 AC 14 ms
7,892 KB
testcase_04 AC 14 ms
7,808 KB
testcase_05 AC 14 ms
7,772 KB
testcase_06 AC 15 ms
7,808 KB
testcase_07 AC 14 ms
7,888 KB
testcase_08 AC 15 ms
7,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

nums = list(map(int, input().split()))
As = [nums[0]%2 == 0, nums[2]%2 == 0, nums[4]%2 == 0]
c = As.count(False)
if c == 1 or c == 3:
    print(":-(")
else:
    print(":-)")
0