Borderou de evaluare (job #1085840)

Utilizator cristy202020Totolin Cristian cristy202020 Data 17 ianuarie 2014 14:30:20
Problema K Aparitii Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld%d",&n,&k); ^ user.cpp:16:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf (f,"%ld",&x); ^ user.cpp:36:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf (g,"%ld",a[2][i]); ^ user.cpp:11:8: warning: unused variable ‘nr’ [-Wunused-variable] int k,nr,j,i; ^ user.cpp:19:25: warning: array subscript is above array bounds [-Warray-bounds] while (a[1][j]!=0&&a[2][j]!=x) ^ user.cpp:23:7: warning: array subscript is above array bounds [-Warray-bounds] a[2][j]=x; ^ user.cpp:36:24: warning: array subscript is above array bounds [-Warray-bounds] fprintf (g,"%ld",a[2][i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms232kbKilled by signal 11(SIGSEGV).00
20ms232kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?