結果

問題 No.193 筒の数式
ユーザー 🍡yurahuna
提出日時 2016-05-04 18:33:54
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 159 bytes
コンパイル時間 369 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 64,512 KB
最終ジャッジ日時 2024-10-05 06:37:25
合計ジャッジ時間 1,814 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
N = len(s)
s += s
ans = -10**15
for i in range(N):
    if s[i].isdigit() and s[i+N-1].isdigit():
        ans = max(ans, eval(s[i:i+N]))
print(ans)
0