记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:12: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   12 |         if(c==1)
      |            ^
foo.cc:12:15: error: unable to find numeric literal operator 'operator""\U0000ff09'
   12 |         if(c==1)
      |               ^~~
foo.cc:12:15: note: use '-fext-numeric-literals' to enable more built-in suffixes
foo.cc:15:12: error: expected primary-expression before 'else'
   15 |            else
      |            ^~~~
foo.cc:14:44: error: expected ')' before 'else'
   14 |                         cout<<"Even"<<endl;
      |                                            ^
      |                                            )
   15 |            else
      |            ~~~~                             
foo.cc:12:11: note: to match this '('
   12 |         if(c==1)
      |           ^
foo.cc:11:13: warning: unused variable 'd' [-Wunused-variable]
   11 |         int d=b%2;
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1491 D. 梅开二度
语言
C++
递交时间
2023-09-09 21:57:58
评测时间
2023-09-09 21:57:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes