Borderou de evaluare (job #1554398)

Utilizator dago28Stoican Dragos dago28 Data 21 decembrie 2015 12:28:35
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%d",&n); ^ user.cpp:26:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",nr); ^ user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ciur.in","r",stdin); ^ user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ciur.out","w",stdout); ^ user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms496kbOK10
448msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?