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