Borderou de evaluare (job #1928291)

Utilizator whitewolf3131Ursu Laurentiu Cristian whitewolf3131 Data 16 martie 2017 00:11:08
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in, "%d", &n); ^ user.cpp:28:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out, "%ul", res); ^ user.cpp:13:6: warning: unused variable ‘b’ [-Wunused-variable] int b=0; ^ user.cpp:14:6: warning: unused variable ‘cn’ [-Wunused-variable] int cn=n; ^ user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms264kbIncorect0
30ms268kbIncorect0
40ms276kbIncorect0
50ms276kbIncorect0
60ms364kbIncorect0
70ms416kbIncorect0
84ms596kbIncorect0
98ms904kbIncorect0
1012ms1232kbIncorect0
Punctaj total0

Ceva nu functioneaza?