Compile Error

foo.cc: In function 'int main()':
foo.cc:15:5: error: unable to find numeric literal operator 'operator""x'
   15 |   y=2x-1;
      |     ^~
foo.cc:15:5: note: use '-fext-numeric-literals' to enable more built-in suffixes
foo.cc:19:5: error: unable to find numeric literal operator 'operator""x'
   19 |   y=3x+4;
      |     ^~
foo.cc:19:5: note: use '-fext-numeric-literals' to enable more built-in suffixes
foo.cc:23:8: error: unable to find numeric literal operator 'operator""x'
   23 |   y=90-5x;
      |        ^~
foo.cc:23:8: note: use '-fext-numeric-literals' to enable more built-in suffixes
foo.cc:27:8: error: unable to find numeric literal operator 'operator""x'
   27 |   y=80+3x;
      |        ^~
foo.cc:27:8: note: use '-fext-numeric-literals' to enable more built-in suffixes
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1021 分段函数
语言
C++
递交时间
2022-01-30 08:52:53
评测时间
2022-01-30 08:52:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes