记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:5: error: 'cin' undeclared (first use in this function)
    5 |     cin>>n;
      |     ^~~
foo.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:5: warning: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
    8 |     sort(a+1,a+n+1);
      |     ^~~~
foo.c:10:9: error: 'cout' undeclared (first use in this function)
   10 |         cout<<a[i]<<" ";
      |         ^~~~
foo.c:11:11: error: 'endl' undeclared (first use in this function)
   11 |     cout<<endl;
      |           ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1082 xf1-5排序与删除
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 11:17:57
评测时间
2022-08-27 11:17:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes