Problem oranges2
User oolimry
Submission Time 2023-04-16 16:26:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp:2:7: error: expected nested-name-specifier before ‘namepsace’
2 | using namepsace std;
| ^~~~~~~~~
oranges2.cpp: In function ‘int main()’:
oranges2.cpp:5:15: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | int n, m, q; cin >> n >> m >> q;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from oranges2.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~