Run id: 108806
Main.cc:3:7: error: 'maxn' does not name a type
const maxn = 10010;
^
Main.cc:4:7: error: 'maxn' was not declared in this scope
int a[maxn], b[maxn], w[maxn], h[maxn];
^
Main.cc:4:16: error: 'maxn' was not declared in this scope
int a[maxn], b[maxn], w[maxn], h[maxn];
^
Main.cc:4:25: error: 'maxn' was not declared in this scope
int a[maxn], b[maxn], w[maxn], h[maxn];
^
Main.cc:4:34: error: 'maxn' was not declared in this scope
int a[maxn], b[maxn], w[maxn], h[maxn];
^
Main.cc: In function 'int main()':
Main.cc:9:10: error: 'a' was not declared in this scope
cin >> a[i] >> b[i] >> w[i] >> h[i];
^
Main.cc:9:18: error: 'b' was not declared in this scope
cin >> a[i] >> b[i] >> w[i] >> h[i];
^
Main.cc:9:26: error: 'w' was not declared in this scope
cin >> a[i] >> b[i] >> w[i] >> h[i];
^
Main.cc:9:34: error: 'h' was not declared in this scope
cin >> a[i] >> b[i] >> w[i] >> h[i];
^
Main.cc:11:9: error: 'px' was not declared in this scope
cin >> px >> py;
^
Main.cc:11:15: error: 'py' was not declared in this scope
cin >> px >> py;
^
Main.cc:13:11: error: 'a' was not declared in this scope
if (px>=a[i]&&px<=a[i]+w[i]&&py>=b[i]&&py<=b[i]+h[i]) {
^
Main.cc:13:26: error: 'w' was not declared in this scope
if (px>=a[i]&&px<=a[i]+w[i]&&py>=b[i]&&py<=b[i]+h[i]) {
^
Main.cc:13:36: error: 'b' was not declared in this scope
if (px>=a[i]&&px<=a[i]+w[i]&&py>=b[i]&&py<=b[i]+h[i]) {
^
Main.cc:13:51: error: 'h' was not declared in this scope
if (px>=a[i]&&px<=a[i]+w[i]&&py>=b[i]&&py<=b[i]+h[i]) {
^