Borderou de evaluare (job #1581023)

Utilizator Andreicm12Matraguna Andrei Andreicm12 Data 26 ianuarie 2016 14:20:32
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void citire(int*, int&)’: user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=0;i<T;i++) ^ user.cpp: In function ‘void powq(int)’: user.cpp:17:9: error: ‘i’ was not declared in this scope for(i=0;i<T;i++) ^ user.cpp:17:15: error: ‘T’ was not declared in this scope for(i=0;i<T;i++) ^ user.cpp:19:9: error: ‘s’ was not declared in this scope s=0; ^ user.cpp:20:13: error: ‘j’ was not declared in this scope for(j=1;j<=v[i];j++) ^ user.cpp:20:20: error: ‘v’ was not declared in this scope for(j=1;j<=v[i];j++) ^ user.cpp: In function ‘int main()’: user.cpp:31:5: error: expected ‘;’ before ‘for’ for(i=0;i<T;i++) ^ user.cpp:31:14: warning: statement has no effect [-Wunused-value] for(i=0;i<T;i++) ^ user.cpp:31:20: error: expected ‘;’ before ‘)’ token for(i=0;i<T;i++) ^ user.cpp:29:20: warning: unused variable ‘j’ [-Wunused-variable] int i,v[30000],j,s=0,T; ^ user.cpp:29:22: warning: unused variable ‘s’ [-Wunused-variable] int i,v[30000],j,s=0,T; ^

Ceva nu functioneaza?