Borderou de evaluare (job #1789838)

Utilizator SenibelanMales Sebastian Senibelan Data 27 octombrie 2016 15:55:27
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Solve()’: user.cpp:20:5: error: expected ‘,’ or ‘;’ before ‘for’ for(int j = i + 1; j <= n; ++j){ ^ user.cpp:20:24: error: ‘j’ was not declared in this scope for(int j = i + 1; j <= n; ++j){ ^ user.cpp:20:35: error: expected ‘;’ before ‘)’ token for(int j = i + 1; j <= n; ++j){ ^ user.cpp:51:1: error: expected ‘}’ at end of input } ^ user.cpp:19:9: warning: unused variable ‘max’ [-Wunused-variable] int max = 0 ^ user.cpp:51:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?