結果

問題 No.892 タピオカ
ユーザー nuekodory
提出日時 2019-09-27 21:27:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 268 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-24 20:46:08
合計ジャッジ時間 828 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

def is_odd(num):
    if num % 2 == 0:
        return 0
    else:
        return 1


num1, pow1, num2, pow2, num3, pow3 = map(int, input().split(' '))

ans = sum([is_odd(x) for x in (num1, num2, num3)]) % 2 == 0

if ans:
    print(":-)")
else:
    print(":-(")
exit(0)
0