Problem | duckbuttons |
---|---|
User | darius0 |
Submission Time | 2025-03-04 12:29:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:7:2: error: ‘ios’ has not been declared
7 | ios::sync_with_stdio(0);cin.tie(0);
| ^~~
duckbuttons.cpp:7:26: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
7 | ios::sync_with_stdio(0);cin.tie(0);
| ^~~
| std::cin
In file included from duckbuttons.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
duckbuttons.cpp:11:2: error: ‘vector’ was not declared in this scope
11 | vector<int> v;
| ^~~~~~
duckbuttons.cpp:11:2: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from duckbuttons.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_ba