Borderou de evaluare (job #1344181)

Utilizator razvan_m3Razvan razvan_m3 Data 16 februarie 2015 15:05:04
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:16: error: size of array ‘a’ is too large int a[900000000]; ^ user.cpp: In function ‘int main()’: user.cpp:12:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=1;j<=n;j++) ^ user.cpp:15:9: error: ‘a’ was not declared in this scope a[x]++; ^ user.cpp:18:16: error: ‘a’ was not declared in this scope while (a[i]>0) ^ user.cpp:9:26: warning: unused variable ‘nn’ [-Wunused-variable] unsigned long long i,nn,nr=0,mm,c=0,k,x,j; ^ user.cpp:9:29: warning: unused variable ‘nr’ [-Wunused-variable] unsigned long long i,nn,nr=0,mm,c=0,k,x,j; ^ user.cpp:9:34: warning: unused variable ‘mm’ [-Wunused-variable] unsigned long long i,nn,nr=0,mm,c=0,k,x,j; ^ user.cpp:9:37: warning: unused variable ‘c’ [-Wunused-variable] unsigned long long i,nn,nr=0,mm,c=0,k,x,j; ^ user.cpp:9:41: warning: unused variable ‘k’ [-Wunused-variable] unsigned long long i,nn,nr=0,mm,c=0,k,x,j; ^

Ceva nu functioneaza?