Problem | div3 |
---|---|
User | Z2077 |
Submission Time | 2025-06-18 10:10:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
div3.cpp: In function ‘int main()’:
div3.cpp:7:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | cout<<"YES";
| ^~~~
| std::cout
In file included from div3.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
div3.cpp:8:2: error: ‘else’ without a previous ‘if’
8 | else;
| ^~~~
div3.cpp:9:8: error: expected ‘}’ at end of input
9 | cout<<"NO"
| ^~~~
div3.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^