結果
問題 |
No.193 筒の数式
|
ユーザー |
![]() |
提出日時 | 2015-10-12 12:16:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-21 07:16:58 |
合計ジャッジ時間 | 1,546 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 WA * 5 RE * 2 |
ソースコード
S = input() L = len(S) max_v = 0 for i in range(L): s = S[i:] + S[:i] if s[0] in '+-' or s[-1] in '+-': continue max_v = max(max_v, eval(s)) print(max_v)