Problem pilot
User 2Princes1Lance
Submission Time 2024-03-02 00:00:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:30:44: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
30 | std::ios_base::sync_with_stdio(false); cin.tie(nullptr);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from pilot.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
pilot.cpp:31:77: error: ‘array’ was not declared in this scope; did you mean ‘std::array’?
31 | intf N = scan_int(), plane = scan_int(), height[1000], plane_alt[1000]; array<intf, 10000000> plan{0}; plan.fill(0);
| ^~~~~
|