Borderou de evaluare (job #2269694)

Utilizator DanutAldeaDanut Aldea DanutAldea Data 26 octombrie 2018 13:57:08
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:1: error: expected initializer before 'char' char c,maxim; ^~~~ main.cpp: In function 'int main()': main.cpp:15:14: error: 'c' was not declared in this scope fin>>c; ^ main.cpp:16:15: error: 'p' was not declared in this scope while(p>0 && v[p].x<=c-48 && m-p<=n-i){ ^ main.cpp:16:22: error: 'v' was not declared in this scope while(p>0 && v[p].x<=c-48 && m-p<=n-i){ ^ main.cpp:19:9: error: 'v' was not declared in this scope v[++p].x=c-48; ^ main.cpp:19:13: error: 'p' was not declared in this scope v[++p].x=c-48; ^ main.cpp:23:15: error: 'v' was not declared in this scope fout<<v[i].x; ^ Non zero exit status: 1

Ceva nu functioneaza?