记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   12 |         else
      |         ^~~~
/in/foo.cc:14:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   14 |                 double cost=j*k;
      |                 ^~~~~~
/in/foo.cc:15:34: error: 'setprecision' was not declared in this scope
   15 |                 cout << fixed << setprecision (2) << cost << endl;
      |                                  ^~~~~~~~~~~~
/in/foo.cc:16:9: error: 'return0\U0000ff1b' was not declared in this scope
   16 |         return0;
      |         ^~~~~~~~~

信息

递交者
类型
自测
题目
P1085 xf1-8交电费
语言
C++
递交时间
2025-09-27 18:37:39
评测时间
2025-10-03 01:46:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes