Borderou de evaluare (job #1043875)

Utilizator Lucian-GeorgeFMI Popa Lucian George Lucian-George Data 28 noiembrie 2013 23:45:43
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:20:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d ",min); ^ user.cpp:11:11: warning: unused variable ‘x’ [-Wunused-variable] long i,n,x,q,min,poz,m,ok,j,l,lung; ^ user.cpp:11:30: warning: unused variable ‘l’ [-Wunused-variable] long i,n,x,q,min,poz,m,ok,j,l,lung; ^ user.cpp:36:14: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (j=(poz-1)*q+1; j<=poz*q; j++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms412kbIncorect00
20ms404kbOK5
30ms412kbIncorect0
40ms408kbIncorect0
54ms420kbIncorect00
64ms424kbIncorect0
74ms420kbIncorect0
84ms420kbIncorect0
9212ms808kbIncorect00
10204ms812kbIncorect0
11216ms808kbIncorect0
12208ms804kbIncorect0
13Depăşit1772kbTime limit exceeded.00
14Depăşit1772kbTime limit exceeded.0
15Depăşit1772kbTime limit exceeded.0
16Depăşit1768kbTime limit exceeded.0
17Depăşit2364kbTime limit exceeded.00
18Depăşit2356kbTime limit exceeded.0
19Depăşit2356kbTime limit exceeded.0
20Depăşit2356kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?