Problem div3
User Z2077
Submission Time 2025-06-18 10:10:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

div3.cpp: In function ‘int main()’:
div3.cpp:7:7: error: ‘out’ is not a member of ‘std’; did you mean ‘cout’?
7 | std::out<<"YES";
| ^~~
| cout
div3.cpp:8:2: error: ‘else’ without a previous ‘if’
8 | else;
| ^~~~
div3.cpp:9:17: error: expected ‘;’ at end of input
9 | std::cout<<"NO"
| ~~~~^
| ;
div3.cpp:9:13: error: expected ‘}’ at end of input
9 | std::cout<<"NO"
| ^~~~
div3.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^