Problem | divideby2 |
---|---|
User | Biologyhater123 |
Submission Time | 2025-06-19 16:44:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
divideby2.cpp:2:1: error: ‘usina’ does not name a type
2 | usina namespace std;
| ^~~~~
divideby2.cpp: In function ‘int32_t main()’:
divideby2.cpp:5:8: 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 divideby2.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
divideby2.cpp:9:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
9 | cout << q << r << '\n';
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from divideby2.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 |