結果

問題 No.892 タピオカ
ユーザー 三村英之三村英之
提出日時 2020-12-07 10:52:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 246 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 11,772 KB
実行使用メモリ 25,596 KB
最終ジャッジ日時 2023-10-17 16:25:58
合計ジャッジ時間 3,514 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
25,596 KB
testcase_01 AC 28 ms
10,100 KB
testcase_02 AC 28 ms
10,100 KB
testcase_03 AC 48 ms
10,324 KB
testcase_04 TLE -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

inputs = []
input_line = input().split()
for i in input_line:
    inputs.append(int(i))

sum = 0
for i, v in enumerate(inputs):
    if not i % 2 == 0:
        sum += inputs[-1] **inputs[i]

if sum % 2 == 0:
    print(":-)")
else:
    print(":-(")
0