Borderou de evaluare (job #1314897)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 12 ianuarie 2015 14:51:00
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool letter(char)’: user.cpp:6:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] return 'a'<=c&&c<='z'||'A'<=c&&c<='Z'; ^ user.cpp: In function ‘int main()’: user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text.in","r",stdin); ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text.out","w",stdout); ^ user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccwUijfp.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms196kbKilled by signal 11(SIGSEGV).0
224ms232kbWrong answer!0
324ms196kbKilled by signal 11(SIGSEGV).0
424ms192kbKilled by signal 11(SIGSEGV).0
524ms200kbKilled by signal 11(SIGSEGV).0
624ms192kbKilled by signal 11(SIGSEGV).0
724ms188kbKilled by signal 11(SIGSEGV).0
824ms196kbKilled by signal 11(SIGSEGV).0
924ms204kbKilled by signal 11(SIGSEGV).0
1024ms300kbOk!10
Punctaj total10

Ceva nu functioneaza?