結果
| 問題 | No.193 筒の数式 |
| コンテスト | |
| ユーザー |
🍡yurahuna
|
| 提出日時 | 2016-05-04 18:33:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 65,280 KB |
| 最終ジャッジ日時 | 2026-04-20 20:31:23 |
| 合計ジャッジ時間 | 1,716 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 RE * 2 |
ソースコード
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)
🍡yurahuna