結果
| 問題 | No.3006 ベイカーの問題 | 
| コンテスト | |
| ユーザー |  gew1fw | 
| 提出日時 | 2025-06-12 19:44:00 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 199 bytes | 
| コンパイル時間 | 210 ms | 
| コンパイル使用メモリ | 82,664 KB | 
| 実行使用メモリ | 67,464 KB | 
| 最終ジャッジ日時 | 2025-06-12 19:44:03 | 
| 合計ジャッジ時間 | 2,953 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 3 | 
| other | RE * 24 | 
ソースコード
x = int(input())
a = x // 100
b = (x // 10) % 10
c = x % 10
if a < b and b < c:
    result = b * 1000 + c ** 3
elif a > b and b > c:
    result = b + c
else:
    result = a * (3 ** a)
print(result)
            
            
            
        