记录详情

Compile Error

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

信息

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