Borderou de evaluare (job #1700393)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 10 mai 2016 14:10:28
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:10:33: 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:11:35: 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:13: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
10ms436kbOK10
20ms436kbOK10
30ms564kbOK10
416msDepăşitMemory limit exceeded.0
516msDepăşitMemory limit exceeded.0
620msDepăşitMemory limit exceeded.0
724msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?