Borderou de evaluare (job #1043877)

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

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:38:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (j<=n) ^ 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
10ms412kbOK520
20ms408kbOK5
30ms404kbOK5
40ms412kbOK5
54ms416kbOK520
64ms424kbOK5
74ms424kbOK5
84ms412kbOK5
9224ms812kbIncorect00
10212ms812kbOK5
11212ms812kbOK5
12216ms812kbOK5
13Depăşit1776kbTime limit exceeded.00
14Depăşit1768kbTime limit exceeded.0
15Depăşit1772kbTime limit exceeded.0
16Depăşit1764kbTime limit exceeded.0
17Depăşit2360kbTime limit exceeded.00
18Depăşit2356kbTime limit exceeded.0
19Depăşit2360kbTime limit exceeded.0
20Depăşit2356kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?