Run id: 145148
Main.cc: In function 'int main()':
Main.cc:10:9: error: redeclaration of 'int d'
int d = max(dx, dy);
^
Main.cc:6:18: note: 'int d' previously declared here
int a, b, c, d;
^
Main.cc:10:17: error: 'dx' was not declared in this scope
int d = max(dx, dy);
^
Main.cc:10:21: error: 'dy' was not declared in this scope
int d = max(dx, dy);
^
Main.cc:8:9: warning: unused variable 'x' [-Wunused-variable]
int x = abs(a - c);
^
Main.cc:9:9: warning: unused variable 'y' [-Wunused-variable]
int y = abs(b - d);
^