Borderou de evaluare (job #2262544)

Utilizator vlad_schillerSchiller Vlad Radu vlad_schiller Data 17 octombrie 2018 16:32:43
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:63:24: error: declaration of 'operator*=' as non-function matrix& operator*=(matirx &y) ^~~~~~ main.cpp:63:21: error: expected ';' at end of member declaration matrix& operator*=(matirx &y) ^~ main.cpp:63:31: error: expected ')' before '&' token matrix& operator*=(matirx &y) ^ main.cpp: In constructor 'matrix::matrix(int, int)': main.cpp:14:9: warning: statement has no effect [-Wunused-value] n; ^ main.cpp: In member function 'matrix& matrix::operator=(matrix&)': main.cpp:56:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0; i<n; i++) ^~~ main.cpp:59:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' n=y.n; ^

Ceva nu functioneaza?