foo.c:1:2: error: invalid preprocessing directive #incluce; did you mean #include?
#incluce<iostream>
^~~~~~~
include
foo.c:3:1: error: unknown type name 'using'
using namespace std;
^~~~~
foo.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^~~
foo.c: In function 'main':
foo.c:7:12: error: 'cin' undeclared (first use in this function); did you mean 'main'?
int n; cin >> n;
^~~
main
foo.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
foo.c:9:13: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
puts("even");
^~~~
[Hydro](https://hydro.ac)提供评测服务