結果
| 問題 | No.193 筒の数式 |
| コンテスト | |
| ユーザー |
y_mazun
|
| 提出日時 | 2015-05-28 21:35:22 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 77,636 KB |
| 最終ジャッジ日時 | 2025-12-03 15:18:59 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 1 |
ソースコード
s = raw_input() ans = -100000000000000 for i in range(len(s)): ss = s[i:] + s[:i] if not (ss[0].isdigit() and ss[-1].isdigit()): continue try: a = eval(ss) except: pass ans = max(a, ans) print ans
y_mazun