Borderou de evaluare (job #973082)

Utilizator harababurelPuscas Sergiu harababurel Data 13 iulie 2013 12:50:09
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:21: error: ‘nb’ was not declared in this scope int v[nm], s[nm], r[nb]; ^ user.cpp: In function ‘int main()’: user.cpp:17:9: error: ‘r’ was not declared in this scope r[++p]=s[k] + q; ^ user.cpp:20:25: error: ‘r’ was not declared in this scope for(i=n; i; i--) g<<r[i]<<" "; ^ user.cpp:8:18: warning: unused variable ‘j’ [-Wunused-variable] int n, q, i, j, k, p=0; ^

Ceva nu functioneaza?