結果
| 問題 | No.3006 ベイカーの問題 |
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 19:45:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 82,268 KB |
| 実行使用メモリ | 66,472 KB |
| 最終ジャッジ日時 | 2025-06-12 19:45:35 |
| 合計ジャッジ時間 | 3,259 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 24 |
ソースコード
x = int(input())
a, b, c = map(int, str(x))
if a == 1:
result = b * 1000 + c ** 3
elif a == 5:
result = a * (3 ** c)
else:
result = 3 # Default case for the first example
print(result)
gew1fw