結果
問題 | No.193 筒の数式 |
ユーザー |
|
提出日時 | 2025-01-01 14:37:09 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 218 bytes |
コンパイル時間 | 2,543 ms |
コンパイル使用メモリ | 81,976 KB |
実行使用メモリ | 66,924 KB |
最終ジャッジ日時 | 2025-01-01 14:37:13 |
合計ジャッジ時間 | 2,565 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 RE * 2 |
ソースコード
S = list(input()) NUM = [str(i) for i in range(10)] ans = -10**10 for i in range(len(S)): x = "".join(S[i:]+S[:i]) if x[0] not in NUM or x[-1] not in NUM: continue ans = max(ans,eval(x)) print(ans)