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