记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
p1015 奇偶数判断(p68页实例1)
语言
C
递交时间
2021-11-18 19:59:57
评测时间
2021-11-18 19:59:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes