Compile Error

/in/foo.cc:10:13: error: stray '\357' in program
 float ii=i-m;
             ^
/in/foo.cc:10:14: error: stray '\274' in program
 float ii=i-m;
              ^
/in/foo.cc:10:15: error: stray '\233' in program
 float ii=i-m;
               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:1: error: expected ',' or ';' before 'float'
 float mm=k*(i-m);
 ^~~~~
/in/foo.cc:15:23: error: 'mm' was not declared in this scope
 printf("%.2lf\n", abs(mm));
                       ^~
/in/foo.cc:10:7: warning: unused variable 'ii' [-Wunused-variable]
 float ii=i-m;
       ^~

信息

递交者
类型
递交
题目
P1033 xf1-8交电费
语言
C++
递交时间
2024-04-19 17:26:40
评测时间
2024-04-19 17:26:40
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes