Problem | sort |
---|---|
User | om2024 |
Submission Time | 2024-06-19 10:23:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp:2:17: error: ‘btd’ is not a namespace-name
2 | using namespace btd;
| ^~~
sort.cpp: In function ‘int main()’:
sort.cpp:5:9: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | int n; cin >> n;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from sort.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
sort.cpp:11:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
11 | cout << arr[i] << " ";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from sort.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream