Problem | lunchbox |
---|---|
User | claireau |
Submission Time | 2023-11-15 13:51:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:2:7: error: expected nested-name-specifier before ‘nameplace’
2 | using nameplace std;
| ^~~~~~~~~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:6:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin >> N;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from lunchbox.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
lunchbox.cpp:10:2: error: ‘reverse’ was not declared in this scope; did you mean ‘std::reverse’?
10 | reverse(pq, pq + m);
| ^~~~~~~
| std::reverse
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from lunchbox.cpp:1:
/usr/include/c++/9/pstl/