結果

問題 No.49 算数の宿題
ユーザー KudeKude
提出日時 2020-09-06 23:35:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 130 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-08-24 17:48:51
合計ジャッジ時間 1,832 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,256 KB
testcase_01 AC 76 ms
71,196 KB
testcase_02 AC 71 ms
71,328 KB
testcase_03 AC 76 ms
71,140 KB
testcase_04 AC 71 ms
71,372 KB
testcase_05 AC 71 ms
71,216 KB
testcase_06 AC 72 ms
71,256 KB
testcase_07 AC 71 ms
71,204 KB
testcase_08 AC 71 ms
71,476 KB
testcase_09 AC 71 ms
71,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
pcnt = s.count('+') + s.count('*')
print(eval('(' * pcnt + s.replace('+', '_').replace('*', ')+').replace('_', ')*')))
0