Borderou de evaluare (job #1496443)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 4 octombrie 2015 22:48:56
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool NOT(char, char)’: user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘bool VAL(char, char)’: user.cpp:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:97:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bool.in", "r", stdin); ^ user.cpp:98:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bool.out", "w", stdout); ^ user.cpp:100:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ user.cpp:103:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d ", &N); ^ user.cpp:106:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &C); ^ /tmp/ccB1X2xA.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms272kbIncorect0
30ms300kbKilled by signal 6(SIGABRT).0
40ms300kbKilled by signal 6(SIGABRT).0
50ms304kbKilled by signal 6(SIGABRT).0
60ms304kbKilled by signal 6(SIGABRT).0
70ms300kbKilled by signal 6(SIGABRT).0
80ms304kbKilled by signal 6(SIGABRT).0
90ms300kbKilled by signal 6(SIGABRT).0
100ms300kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?