Borderou de evaluare (job #1393543)

Utilizator AdrianGotcaAdrian Gotca AdrianGotca Data 19 martie 2015 16:01:32
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

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 long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",nr); ^ user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms244kbOK10
30ms276kbOK10
420ms1224kbOK10
524ms1320kbOK10
632ms1576kbOK10
736ms1712kbOK10
844ms2024kbOK10
948ms2100kbOK10
1052ms2196kbOK10
Punctaj total100

Ceva nu functioneaza?