結果

問題 No.193 筒の数式
ユーザー akitsugu777akitsugu777
提出日時 2019-08-14 16:48:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 193 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 11,796 KB
実行使用メモリ 10,084 KB
最終ジャッジ日時 2023-10-19 18:10:32
合計ジャッジ時間 1,492 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 28 ms
10,036 KB
testcase_03 AC 29 ms
10,036 KB
testcase_04 AC 28 ms
10,036 KB
testcase_05 AC 28 ms
10,036 KB
testcase_06 AC 28 ms
10,036 KB
testcase_07 AC 29 ms
10,036 KB
testcase_08 AC 29 ms
10,036 KB
testcase_09 AC 29 ms
10,036 KB
testcase_10 AC 28 ms
10,036 KB
testcase_11 AC 29 ms
10,036 KB
testcase_12 AC 29 ms
10,036 KB
testcase_13 AC 29 ms
10,036 KB
testcase_14 AC 28 ms
10,036 KB
testcase_15 AC 29 ms
10,036 KB
testcase_16 AC 28 ms
10,036 KB
testcase_17 AC 29 ms
10,036 KB
testcase_18 AC 29 ms
10,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = list(input())

L = []
for _ in range(len(s)):
    t = s.pop(0)
    s += t
    if s[0] not in '+-' and s[-1] not in '+-':
        L += [''.join(s)]

L1 = [eval(i) for i in L]

print(max(L1))
0