Borderou de evaluare (job #2022537)

Utilizator GeoeyMexicanuBadita George GeoeyMexicanu Data 16 septembrie 2017 18:32:23
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve(int, int)’: user.cpp:27:55: error: ‘n1’ was not declared in this scope if(a[l][c]==a[nd1+d1[t]][nd2+d2[t]] && (b[n1+d1[t]][n2+d2[t]]==0 || b[n1+d1[t]][n2+d2[t]]>b[n1][n2]+1)) ^ user.cpp:27:65: error: ‘n2’ was not declared in this scope if(a[l][c]==a[nd1+d1[t]][nd2+d2[t]] && (b[n1+d1[t]][n2+d2[t]]==0 || b[n1+d1[t]][n2+d2[t]]>b[n1][n2]+1)) ^ user.cpp: In function ‘int main()’: user.cpp:79:22: warning: NULL used in arithmetic [-Wpointer-arith] while(s[pr]!=NULL) ^

Ceva nu functioneaza?