Problem | simp |
---|---|
User | afzal |
Submission Time | 2025-08-18 16:09:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:13:9: error: ‘x1’ was not declared in this scope; did you mean ‘xx’?
13 | cin >> x1 >> y1;
| ^~
| xx
simp.cpp:14:9: error: ‘x2’ was not declared in this scope; did you mean ‘xx’?
14 | cin >> x2 >> y2;
| ^~
| xx
simp.cpp:14:15: error: ‘y2’ was not declared in this scope; did you mean ‘yy’?
14 | cin >> x2 >> y2;
| ^~
| yy
simp.cpp: At global scope:
simp.cpp:24:5: error: expected unqualified-id before ‘if’
24 | if (pos == 1){
| ^~
simp.cpp:27:3: error: expected unqualified-id before ‘else’
27 | else{
| ^~~~
simp.cpp:29:4: error: expected declaration before ‘}’ token
29 | }}
| ^