結果

問題 No.892 タピオカ
ユーザー Eseshinpu
提出日時 2019-09-28 10:26:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 22,904 KB
最終ジャッジ日時 2024-10-01 15:03:39
合計ジャッジ時間 2,770 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other RE * 1 TLE * 1 -- * 4
権限があれば一括ダウンロードができます

ソースコード

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