Borderou de evaluare (job #2369807)

Utilizator denmirceaBrasoveanu Mircea denmircea Data 6 martie 2019 09:19:19
Problema Problema Damelor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int verifpr(int, int)': main.cpp:18:12: error: 'n' was not declared in this scope return j-i+n; ^ main.cpp: In function 'int verifsec(int, int)': main.cpp:28:9: error: 'n' was not declared in this scope if(i+j==n+1) ^ main.cpp:30:4: error: expected primary-expression before ')' token if() ^ main.cpp:31:1: error: expected primary-expression before '}' token } ^ main.cpp: In function 'void backtr(int)': main.cpp:33:9: error: 'n' was not declared in this scope if(pas==n+1){ ^ main.cpp:34:9: error: 'nrsol' was not declared in this scope nrsol++; ^~~~~ main.cpp:36:13: error: 'solutie' was not declared in this scope solutie(); ^ main.cpp:40:16: error: 'n' was not declared in this scope for(int i=1;i<=n;i++){ ^ main.cpp:41:8: error: 'fr' was not declared in this scope if(fr[i]==1) ^~ main.cpp:43:5: error: 'fr' was not declared in this scope fr[i]=1; ^~ main.cpp:44:5: error: 'diag1' was not declared in this scope diag1=verifpr(pas,i); ^~~~~ main.cpp:45:5: error: 'diag2' was not declared in this scope diag2=verifsec(pas,i); ^~~~~ main.cpp:46:8: error: 'd1' was not declared in this scope if(d1[diag1]>0){ ^~ main.cpp:50:7: error: 'd2' was not declared in this scope if(d2[diag2]>0){ ^~ main.cpp:54:4: error: 'd1' was not declared in this scope d1[diag1]=d2[diag2]=1; ^~ main.cpp:54:14: error: 'd2' was not declared in this scope d1[diag1]=d2[diag2]=1; Non zero exit status: 1

Ceva nu functioneaza?