Borderou de evaluare (job #1826031)

Utilizator DdariusDarius Ddarius Data 9 decembrie 2016 23:24:09
Problema Diagonale Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream g("diagonale.out") ^ user.cpp:8:13: error: variable or field ‘citire’ declared void void citire(Matrice m, n) ^ user.cpp:8:13: error: ‘Matrice’ was not declared in this scope user.cpp:8:24: error: ‘n’ was not declared in this scope void citire(Matrice m, n) ^ user.cpp:14:15: error: variable or field ‘strabate’ declared void void strabate(Matrice x,int n) ^ user.cpp:14:15: error: ‘Matrice’ was not declared in this scope user.cpp:14:25: error: expected primary-expression before ‘int’ void strabate(Matrice x,int n) ^ user.cpp:18:1: error: ‘Matrice’ does not name a type Matrice m; ^ user.cpp: In function ‘int main()’: user.cpp:24:5: error: ‘g’ was not declared in this scope g>>n; ^ user.cpp:26:12: error: ‘m’ was not declared in this scope citire(m, n); ^ user.cpp:26:16: error: ‘citire’ was not declared in this scope citire(m, n); ^ user.cpp:23:9: warning: unused variable ‘a’ [-Wunused-variable] int a, n, i, j, k, s=0, maxs, nrdiag; ^ user.cpp:23:21: warning: unused variable ‘k’ [-Wunused-variable] int a, n, i, j, k, s=0, maxs, nrdiag; ^ user.cpp:23:24: warning: unused variable ‘s’ [-Wunused-variable] int a, n, i, j, k, s=0, maxs, nrdiag; ^ user.cpp:23:29: warning: unused variable ‘maxs’ [-Wunused-variable] int a, n, i, j, k, s=0, maxs, nrdiag; ^

Ceva nu functioneaza?