Borderou de evaluare (job #2157007)

Utilizator Monstergentleman35Ciopraga Razvan Monstergentleman35 Data 9 martie 2018 10:06:17
Problema Joctv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:27:10: error: ‘sfc’ was not declared in this scope while (sfc<=n) ^ user.cpp:31:17: error: ‘stc’ was not declared in this scope for (coloana=stc;coloana<=sfc;coloana++) ^ user.cpp:33:22: error: too few arguments to function ‘int subsecmax(int)’ F=max(F,subsecmax()); ^ user.cpp:10:5: note: declared here int subsecmax(int); ^ user.cpp: In function ‘int subsecmax(int)’: user.cpp:45:1: error: expected primary-expression before ‘}’ token } ^ user.cpp:41:6: warning: unused variable ‘S’ [-Wunused-variable] int S=0,i2; ^ user.cpp:42:6: warning: unused variable ‘bestsum’ [-Wunused-variable] int bestsum=0; ^ user.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^

Ceva nu functioneaza?