Borderou de evaluare (job #1719774)

Utilizator petrooPetru G petroo Data 20 iunie 2016 12:17:49
Problema Sume Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:11:5: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] if((1+ sqrt(1+ 8 * nr)) /2 != floor((1+ sqrt(1+ 8 * nr)) /2)) ^ user.c:11:12: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default] if((1+ sqrt(1+ 8 * nr)) /2 != floor((1+ sqrt(1+ 8 * nr)) /2)) ^ user.c:11:5: warning: implicit declaration of function ‘floor’ [-Wimplicit-function-declaration] if((1+ sqrt(1+ 8 * nr)) /2 != floor((1+ sqrt(1+ 8 * nr)) /2)) ^ user.c:11:35: warning: incompatible implicit declaration of built-in function ‘floor’ [enabled by default] if((1+ sqrt(1+ 8 * nr)) /2 != floor((1+ sqrt(1+ 8 * nr)) /2)) ^ user.c:14:9: warning: ‘return’ with no value, in function returning non-void [enabled by default] return; ^ user.c:16:18: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default] int n = ((1+ sqrt(1+ 8 * nr)) /2); ^ user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sume.in","r",stdin); ^ user.c:9:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sume.out","w",stdout); ^ user.c:10:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ user.c:19:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbNon-zero exit status.0
20ms280kbWrong answer!0
30ms284kbWrong answer!0
40ms276kbWrong answer!0
50ms276kbWrong answer!0
60ms284kbWrong answer!0
70ms284kbWrong answer!0
80ms284kbWrong answer!0
90ms280kbWrong answer!0
100ms276kbWrong answer!0
110ms276kbWrong answer!0
120ms284kbWrong answer!0
130ms284kbWrong answer!0
140ms280kbWrong answer!0
150ms280kbWrong answer!0
160ms276kbWrong answer!0
170ms284kbWrong answer!0
180ms280kbWrong answer!0
190ms284kbWrong answer!0
200ms280kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?