Borderou de evaluare (job #2040613)

Utilizator stefancincaStefan Cinca stefancinca Data 16 octombrie 2017 01:15:25
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:5: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] for (i = 3; i <= sqrt(n); i += 2) ^ user.c:10:22: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default] for (i = 3; i <= sqrt(n); i += 2) ^ user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.in","r",stdin); ^ user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.out","w",stdout); ^ user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms272kbOK10
30ms388kbOK10
448msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?