Problem simp
User Biologyhater123
Submission Time 2025-03-03 16:47:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int32_t main()’:
simp.cpp:6:33: error: ‘pdx’ was not declared in this scope; did you mean ‘kdx’?
6 | cin >>grid>>px>>py>>kx>>ky>>pdx>>pdy;
| ^~~
| kdx
simp.cpp:6:38: error: ‘pdy’ was not declared in this scope; did you mean ‘kdy’?
6 | cin >>grid>>px>>py>>kx>>ky>>pdx>>pdy;
| ^~~
| kdy
simp.cpp:9:13: error: ‘NO’ was not declared in this scope
9 | cout<<NO;
| ^~
simp.cpp:13:13: error: ‘NO’ was not declared in this scope
13 | cout<<NO;
| ^~
simp.cpp:15:16: error: ‘YES’ was not declared in this scope
15 | else{cout<< YES};
| ^~~