park.cpp: In function 'bool testa(int, int)':
park.cpp:43:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[i].x-v[i].r<k) une(i, m+2); if(v[i].x+v[i].r>xx-k) une(i, m+3);
^~
park.cpp:43:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(v[i].x-v[i].r<k) une(i, m+2); if(v[i].x+v[i].r>xx-k) une(i, m+3);
^~
park.cpp:44:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[i].y-v[i].r<k) une(i, m); if(v[i].y+v[i].r>yy-k) une(i, m+1);
^~
park.cpp:44:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(v[i].y-v[i].r<k) une(i, m); if(v[i].y+v[i].r>yy-k) une(i, m+1);
^~
park.cpp: In function 'int main()':
park.cpp:74:71: error: invalid conversion from 'int*' to 'int' [-fpermissive]
for(int k=0; k<6; k++) for(int i=INF; i>0; i/=2) while(testa(maior[k]+i, 0)) maior[k]+=i;
~~~~~~~~^~
park.cpp:37:6: note: initializing argument 1 of 'bool testa(int, int)'
bool testa(int k, int flag) { //flag=0=pisos//flag=1=lados
^~~~~
park.cpp:74:89: error: incompatible types in assignment of 'int' to 'int [4]'
for(int k=0; k<6; k++) for(int i=INF; i>0; i/=2) while(testa(maior[k]+i, 0)) maior[k]+=i;
^
park.cpp:76:18: error: expected ';' before ')' token
for(int i=0; i<n) {
^
park.cpp:67:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &m, &n);
~~~~~^~~~~~~~~~~~~~~~~
park.cpp:68:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &xx, &yy);
~~~~~^~~~~~~~~~~~~~~~~~~
park.cpp:70:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int a, b, c; scanf("%d %d %d", &a, &b, &c);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
park.cpp:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int a, b; scanf("%d %d", &a, &b);
~~~~~^~~~~~~~~~~~~~~~~