Borderou de evaluare (job #1037670)

Utilizator sirbu11Sirbu Claudiu Cosmin sirbu11 Data 20 noiembrie 2013 17:01:58
Problema Zero 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 68

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%lu\n",int(nr/p)); ^ user.cpp:48:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%lu\n",int(p/nr)); ^ user.cpp:35:17: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] while(j%x==0&&j!=1) ^ user.cpp:48:26: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(g,"%lu\n",int(p/nr)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms236kb8/108
216ms236kb10/1010
34ms236kb10/1010
44ms236kb10/1010
54ms236kb10/1010
64ms236kb10/1010
74ms236kb10/1010
8Depăşit240kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total68

Ceva nu functioneaza?