Borderou de evaluare (job #1519227)

Utilizator TheNechizFMI Razvan Birisan TheNechiz Data 7 noiembrie 2015 00:13:37
Problema Logs Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘getNumbers’: user.c:13:53: warning: comparison between pointer and integer [enabled by default] while( lin[i] >= '0' && lin[i] <= '9' && lin[i] != NULL ) ^ user.c:18:53: warning: comparison between pointer and integer [enabled by default] while( (lin[i] < '0' || lin[i] > '9') && lin[i] != NULL ) ^ user.c:20:55: warning: comparison between pointer and integer [enabled by default] while( (lin[i] >= '0' && lin[i] <= '9') && lin[i] != NULL ) ^ user.c: In function ‘main’: user.c:36:9: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] V = (int*)calloc(NMax+1,sizeof(int)); ^ user.c:36:19: warning: incompatible implicit declaration of built-in function ‘calloc’ [enabled by default] V = (int*)calloc(NMax+1,sizeof(int)); ^ user.c:54:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(V); ^ user.c:54:9: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] user.c:27:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(InFile,"r",stdin); ^ user.c:28:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(OutFile,"w",stdout); ^ user.c:31:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(lin); ^ user.c:35:13: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(lin); ^ /tmp/ccsfQURF.o: In function `main': user.c:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms804kbOK10
212ms4204kbOK10
324ms6308kbOK10
4172ms29612kbOK10
5180ms29616kbOK10
6Depăşit58356kbTime limit exceeded.0
7Depăşit61376kbTime limit exceeded.0
8Depăşit58996kbTime limit exceeded.0
9Depăşit60060kbTime limit exceeded.0
10Depăşit64356kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?