Borderou de evaluare (job #953601)

Utilizator ShaDoWsiD100Rzv Rzv ShaDoWsiD100 Data 26 mai 2013 18:48:50
Problema Cuburi3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:23:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&v[i].l,&v[i].g); ^ user.cpp:23:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:52:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] fprintf(g,"%d %ld\n",m,max); ^ user.cpp:54:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",u[i]); ^ user.cpp: In function ‘int cmp(str, str)’: user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:46:21: warning: ‘imax’ may be used uninitialized in this function [-Wmaybe-uninitialized] while(sol[cimax]!=v[cimax].l) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
20ms240kbOK10
30ms236kbOK10
40ms236kbOK10
54ms236kbOK10
64ms256kbOK10
74ms256kbOK10
84ms260kbIncorect0
98ms264kbOK10
1084ms372kbIncorect0
Punctaj total80

Ceva nu functioneaza?