Borderou de evaluare (job #1928288)

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

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:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out, "%d", 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
10ms260kbOK10
20ms264kbOK10
30ms268kbOK10
40ms272kbOK10
50ms276kbOK10
60ms360kbIncorect0
70ms412kbIncorect0
84ms596kbIncorect0
98ms904kbIncorect0
1012ms1232kbIncorect0
Punctaj total50

Ceva nu functioneaza?