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

Compile Error

simp.cpp: In function ‘int32_t main()’:
simp.cpp:7:8: error: expected ‘;’ before ‘grid’
7 | cin grid>>px>>py>>kx>>ky>>pdx>>pdy;
| ^~~~~
| ;
simp.cpp:8:16: error: ‘pdx’ was not declared in this scope; did you mean ‘kdx’?
8 | if (px<=kx<=pdx){
| ^~~
| kdx
simp.cpp:10:13: error: ‘NO’ was not declared in this scope
10 | cout<<NO;
| ^~
simp.cpp:12:21: error: ‘pdy’ was not declared in this scope; did you mean ‘kdy’?
12 | else if (py<=ky<=pdy){
| ^~~
| kdy
simp.cpp:14:13: error: ‘NO’ was not declared in this scope
14 | cout<<NO;
| ^~
simp.cpp:16:16: error: ‘YES’ was not declared in this scope
16 | else{cout<< YES};
| ^~~