记录详情

Compile Error

foo.c:2:1: error: unknown type name 'usingnamespace'
 usingnamespace std;
 ^~~~~~~~~~~~~~
foo.c: In function 'nmain':
foo.c:6:12: error: 'cin' undeclared (first use in this function)
     int n; cin >> n;
            ^~~
foo.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:13: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
             puts("even");
             ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

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