Compile Error

foo.cc: In function ‘int main()’:
foo.cc:11:23: error: expected ‘;’ before ‘cout’
   11 |                 c=0.00
      |                       ^
      |                       ;
   12 |         cout<<fixed<<setprecision(2)<<c;
      |         ~~~~           

信息

递交者
类型
自测
题目
P1033 xf1-8交电费
语言
C++
递交时间
2025-07-21 08:10:42
评测时间
2025-07-21 08:10:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes