Borderou de evaluare (job #1496437)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 4 octombrie 2015 22:32:18
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:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘bool VAL(char, char)’: user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:78: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:79: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:81:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ user.cpp:84:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d ", &N); ^ user.cpp:87:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &C); ^ /tmp/ccc1w61h.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
10ms264kbOK10
20ms260kbIncorect0
30ms296kbKilled by signal 6(SIGABRT).0
40ms296kbKilled by signal 6(SIGABRT).0
50ms300kbKilled by signal 6(SIGABRT).0
60ms300kbKilled by signal 6(SIGABRT).0
70ms296kbKilled by signal 6(SIGABRT).0
80ms292kbKilled by signal 6(SIGABRT).0
90ms300kbKilled by signal 6(SIGABRT).0
100ms300kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?