Problem | boxispull |
---|---|
User | Haocheng |
Submission Time | 2024-11-07 14:30:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In function ‘int32_t main()’:
boxispull.cpp:11:26: error: expected ‘;’ before ‘:’ token
11 | cin>> sx>> sy>> tx>> ty:
| ^
| ;
boxispull.cpp:14:28: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
14 | if(sx!= tx and sy != ty) dis +=2;
| ^~~
| div
boxispull.cpp:16:11: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
16 | cout << dis << '\n';
| ^~~
| div
boxispull.cpp:17:2: error: expected ‘}’ at end of input
17 | }
| ^
boxispull.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^