Problem hungrycats
User JAVIER
Submission Time 2024-11-11 12:11:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats.cpp: In function ‘int main()’:
hungrycats.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin>>n;
| ^~~
hungrycats.cpp:19:6: error: ‘abs’ was not declared in this scope
19 | if (abs(x-y)==0 || abs(x-y)==1)
| ^~~
hungrycats.cpp:21:3: error: ‘cout’ was not declared in this scope
21 | cout<<"Yes";
| ^~~~
hungrycats.cpp:25:3: error: ‘cout’ was not declared in this scope
25 | cout<<"No";
| ^~~~