Borderou de evaluare (job #2356023)

Utilizator deniz34denis pasare deniz34 Data 26 februarie 2019 14:07:57
Problema Cifra4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:14:39: error: 'h' was not declared in this scope for (i=1; i<=n; i++) {cin>>x; h=x; m=0 ^ main.cpp:15:13: error: expected ';' before 'while' while (x!=0){ ^~~~~ main.cpp:20:1: error: expected '}' at end of input } ^ main.cpp:12:27: warning: unused variable 'r' [-Wunused-variable] long long int c,n,r,m,x,i; ^ main.cpp:20:1: error: expected '}' at end of input } ^ main.cpp:20:1: error: expected '}' at end of input Non zero exit status: 1

Ceva nu functioneaza?