记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:4: error: unable to find numeric literal operator 'operator""a'
  d=100a+10b+c;
    ^~~~
/in/foo.cc:7:4: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
/in/foo.cc:7:9: error: unable to find numeric literal operator 'operator""b'
  d=100a+10b+c;
         ^~~
/in/foo.cc:7:9: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
/in/foo.cc:8:6: warning: statement has no effect [-Wunused-value]
  cin ;a>>b>>c;
      ^
/in/foo.cc:8:11: warning: statement has no effect [-Wunused-value]
  cin ;a>>b>>c;
       ~~~~^~~
/in/foo.cc:9:8: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
  if(a^c+b^c+c^c)
       ~^~
/in/foo.cc:9:12: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
  if(a^c+b^c+c^c)
           ~^~

信息

递交者
类型
递交
题目
P1196 迷人的水仙花
比赛
2020苏青奥赛集训营(2021-2-3课堂小练)
语言
C++
递交时间
2021-02-03 13:06:05
评测时间
2021-02-03 13:06:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes