結果
問題 |
No.3006 ベイカーの問題
|
ユーザー |
![]() |
提出日時 | 2025-06-12 14:44:20 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 183 ms |
コンパイル使用メモリ | 82,084 KB |
実行使用メモリ | 67,360 KB |
最終ジャッジ日時 | 2025-06-12 14:45:19 |
合計ジャッジ時間 | 2,685 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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: print(3) elif a < b and b < c: print(2000 + c ** 3) elif a == b == c: print(a * (3 ** a)) else: print(0) # This case is not covered by the examples, but included for completeness.