Compile Error

foo.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>n;
      |     ^~~
foo.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<a[1]<<" "<<a[n];
      |     ^~~~
foo.cc:10:14: error: expected '}' at end of input
   10 |     return 0;
      |              ^
foo.cc:4:1: note: to match this '{'
    4 | {
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1847 找出最小和最大
语言
C++
递交时间
2023-12-01 22:39:07
评测时间
2023-12-01 22:39:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes