Problem eating
User xd490
Submission Time 2026-04-26 14:08:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:20:5: error: ‘else’ without a previous ‘if’
20 | else {cout<<"YES"<<"\n";
| ^~~~
eating.cpp:21:5: error: ‘m’ was not declared in this scope
21 | m[a][b]=1;
| ^