結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-10-07 13:12:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 212 bytes |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 23,160 KB |
| 最終ジャッジ日時 | 2024-10-12 22:59:02 |
| 合計ジャッジ時間 | 2,731 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 TLE * 1 -- * 4 |
ソースコード
AB = [int(i) for i in input().split()]
s = 0
b = 0
i = 0
for x in AB:
if i % 2 == 0:
b = x
else:
s += b ** x
i += 1
i %= 2
if s % 2 == 0:
print(':-)')
else:
print(':-(')