Borderou de evaluare (job #1824712)

Utilizator pibogaBogdan piboga Data 8 decembrie 2016 12:21:33
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:55:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (vl[c[i]] < vl[c[i-1]]) ^ user.cpp:55:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (vl[c[i]] < vl[c[i-1]]) ^ user.cpp:57:20: error: ‘tr’ was not declared in this scope tr(); //--xy ^ user.cpp:61:21: error: ‘u’ was not declared in this scope a[++u]=c[i]; ^ user.cpp:69:20: error: ‘tr’ was not declared in this scope tr(); ^ user.cpp: At global scope: user.cpp:77:5: error: expected unqualified-id before ‘return’ return 0; ^ user.cpp:78:1: error: expected declaration before ‘}’ token } ^

Ceva nu functioneaza?