记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:5: error: 'flout' was not declared in this scope; did you mean 'float'?
    7 |     flout m;
      |     ^~~~~
      |     float
/in/foo.cc:8:12: error: 'm' was not declared in this scope; did you mean 'tm'?
    8 |     cin >> m;
      |            ^
      |            tm
/in/foo.cc:10:10: error: expected ';' before 'pay'
   10 |     flout pay;
      |          ^~~~
      |          ;
/in/foo.cc:12:17: error: 'pay' was not declared in this scope
   12 |                 pay = m * 0.80;
      |                 ^~~
/in/foo.cc:14:17: error: 'pay' was not declared in this scope
   14 |                 pay = m * 0.85;
      |                 ^~~
/in/foo.cc:16:17: error: 'pay' was not declared in this scope
   16 |                 pay = m * 0.90;
      |                 ^~~
/in/foo.cc:18:17: error: 'pay' was not declared in this scope
   18 |                 pay = m * 0.95;
      |                 ^~~
/in/foo.cc:20:17: error: 'pay' was not declared in this scope
   20 |                 pay = m;
      |                 ^~~
/in/foo.cc:22:41: error: 'pay' was not declared in this scope
   22 |     cout << fixed << setprecision(2) << pay << endl;
      |                                         ^~~

信息

递交者
类型
自测
语言
C++
递交时间
2026-11-13 20:30:06
评测时间
2026-11-13 20:30:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes