結果

問題 No.892 タピオカ
ユーザー でろろんでろろん
提出日時 2019-10-01 17:43:52
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 16 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 8,096 KB
最終ジャッジ日時 2023-07-26 19:10:16
合計ジャッジ時間 996 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
8,096 KB
testcase_01 AC 15 ms
7,952 KB
testcase_02 AC 15 ms
7,952 KB
testcase_03 AC 16 ms
7,968 KB
testcase_04 AC 16 ms
7,972 KB
testcase_05 AC 16 ms
7,980 KB
testcase_06 AC 16 ms
8,040 KB
testcase_07 AC 15 ms
7,916 KB
testcase_08 AC 15 ms
7,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys


a1, b1, a2, b2, a3, b3 = (int(x) for x in input().split())

#s = int(pow(a1, b1) + pow(a2, b2)+pow(a3, b3))
#int s = a1**b1+a2**b2+a3**b3
s = a1 + a2 + a3
if s%2==0:
    print(":-)")
else:
    print(":-(")
0