Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:44:61: error: expected primary-expression at end of input
   44 |                 cout << fixed << setprecision(2) << result <
      |                                                             ^
/in/foo.cc:44:61: error: expected '}' at end of input
/in/foo.cc:42:25: note: to match this '{'
   42 |         if (!s.empty()) {
      |                         ^
/in/foo.cc:44:61: error: expected '}' at end of input
   44 |                 cout << fixed << setprecision(2) << result <
      |                                                             ^
/in/foo.cc:10:12: note: to match this '{'
   10 | int main() {
      |            ^

信息

递交者
类型
递交
题目
P1016 根据后缀表达式的值(count)
语言
C++
递交时间
2026-08-09 17:46:50
评测时间
2026-08-09 17:46:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes