Borderou de evaluare (job #1251013)

Utilizator razvan1theo@yahoo.comrazvan rosu [email protected] Data 28 octombrie 2014 20:55:28
Problema Text Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:3:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main(void) ^ user.c: In function ‘main’: user.c:16:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(!(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z')) ^ user.c:19:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z') ^ user.c:10:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(x,1000,f); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: In function ‘fgets’, inlined from ‘main’ at user.c:10:8: /usr/include/i386-linux-gnu/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbKilled by signal 6(SIGABRT).0
20ms308kbKilled by signal 6(SIGABRT).0
30ms308kbKilled by signal 6(SIGABRT).0
40ms304kbKilled by signal 6(SIGABRT).0
50ms308kbKilled by signal 6(SIGABRT).0
60ms300kbKilled by signal 6(SIGABRT).0
70ms220kbWrong answer!0
80ms220kbWrong answer!0
90ms300kbKilled by signal 6(SIGABRT).0
100ms308kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?