結果

問題 No.892 タピオカ
ユーザー EseshinpuEseshinpu
提出日時 2019-09-28 10:26:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 23,152 KB
最終ジャッジ日時 2024-04-09 03:17:01
合計ジャッジ時間 2,839 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 RE -
testcase_04 TLE -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

ln = input().split()
it = iter(ln)

s = 0
for a in it:
    a = int(a)
    b = int(next(it))
    s += a ** b
print(s)
if s % 2 == 0:
    print(":-)")
else:
    print(":-(")
0