結果
問題 | No.49 算数の宿題 |
ユーザー |
👑 |
提出日時 | 2022-01-20 21:04:14 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 5,000 ms |
コード長 | 231 bytes |
コンパイル時間 | 254 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 51,712 KB |
最終ジャッジ日時 | 2024-12-23 02:16:26 |
合計ジャッジ時間 | 1,244 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
S = input() + "*"ans = 0ope = "*"T = ""for s in S:if s.isdigit():T += selse:if ope == "*":ans += int(T)else:ans *= int(T)T = ""ope = sprint(ans)