Borderou de evaluare (job #1251025)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(!(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z')) ^ user.cpp:19:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(x[i]>='a'&&x[i]<='z'||x[i]>='A'&&x[i]<='Z') ^ user.cpp:10:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(x,1000,f); ^ In file included from /usr/include/stdio.h:934:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:10:18: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: 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
10ms228kbWrong answer!0
20ms228kbWrong answer!0
30ms304kbKilled by signal 6(SIGABRT).0
40ms296kbKilled by signal 6(SIGABRT).0
50ms228kbWrong answer!0
60ms224kbWrong answer!0
70ms220kbWrong answer!0
80ms220kbWrong answer!0
90ms304kbKilled by signal 6(SIGABRT).0
100ms296kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?