Main.cpp: In function 'int main()':
Main.cpp:11:10: error: 'id' was not declared in this scope; did you mean 'i'?
11 | cin >> id;
| ^~
| i
Main.cpp:18:10: error: 'id' was not declared in this scope; did you mean 'i'?
18 | cin >> id;
| ^~
| i
Main.cpp:21:11: error: 'id2' was not declared in this scope
21 | cin >> id2;
| ^~~
Main.cpp:6:27: warning: unused variable 'x' [-Wunused-variable]
6 | long long n, m, ans = 0, x, y;
| ^
Main.cpp:6:30: warning: unused variable 'y' [-Wunused-variable]
6 | long long n, m, ans = 0, x, y;
| ^