結果
| 問題 | No.3006 ベイカーの問題 | 
| コンテスト | |
| ユーザー |  gew1fw | 
| 提出日時 | 2025-06-12 14:41:55 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 199 bytes | 
| コンパイル時間 | 275 ms | 
| コンパイル使用メモリ | 82,176 KB | 
| 実行使用メモリ | 65,536 KB | 
| 最終ジャッジ日時 | 2025-06-12 14:42:11 | 
| 合計ジャッジ時間 | 2,976 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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)
            
            
            
        