Problem arcade
User 2Princes1Lance
Submission Time 2024-01-12 20:09:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arcade.cpp: In function ‘int main()’:
arcade.cpp:26:44: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
26 | 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 arcade.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
arcade.cpp:28:5: error: ‘array’ was not declared in this scope; did you mean ‘std::array’?
28 | array<bool, 1000> button{}, temp{}; button.fill(false);
| ^~~~~
| std::array
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_d