結果
問題 | No.193 筒の数式 |
ユーザー | kmjp |
提出日時 | 2015-04-26 22:06:17 |
言語 | Python2 (2.7.18) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 114 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-07-05 02:52:03 |
合計ジャッジ時間 | 1,230 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 1 |
ソースコード
import sys import math mi=-1<<60 S=raw_input().strip() for i in range(11): S=S[1:]+S[0] if S[0]=='+': continue if S[0]=='-': continue if S[-1]=='+': continue if S[-1]=='-': continue mi=max(mi,eval(S)) print mi