結果
| 問題 | No.49 算数の宿題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-10-23 19:00:29 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 5,000 ms |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 77,600 KB |
| 最終ジャッジ日時 | 2025-12-03 12:50:41 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
S = raw_input()
total = 0
for s in map(lambda s: s.split("+"), S.split("*")):
total += int(s[0])
for si in s[1:]:
total *= int(si)
print total