Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:30: error: expression list treated as compound expression in functional cast [-fpermissive]
   12 |         cout<<float(x,a,b,c,d);
      |                              ^
/in/foo.cc:12:21: warning: left operand of comma operator has no effect [-Wunused-value]
   12 |         cout<<float(x,a,b,c,d);
      |                     ^
/in/foo.cc:12:30: warning: right operand of comma operator has no effect [-Wunused-value]
   12 |         cout<<float(x,a,b,c,d);
      |                              ^
/in/foo.cc:12:30: warning: right operand of comma operator has no effect [-Wunused-value]
/in/foo.cc:12:30: warning: right operand of comma operator has no effect [-Wunused-value]

信息

递交者
类型
自测
题目
P2316 1.3.7:计算多项式的值
语言
C++
递交时间
2025-12-07 12:50:58
评测时间
2025-12-07 12:50:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes