Borderou de evaluare (job #1496434)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool NOT(char)’: user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘bool VAL(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/cce4PsPs.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
10ms264kbIncorect0
20ms260kbIncorect0
30ms300kbKilled by signal 6(SIGABRT).0
40ms296kbKilled by signal 6(SIGABRT).0
50ms292kbKilled by signal 6(SIGABRT).0
60ms296kbKilled by signal 6(SIGABRT).0
70ms300kbKilled by signal 6(SIGABRT).0
80ms300kbKilled by signal 6(SIGABRT).0
90ms296kbKilled by signal 6(SIGABRT).0
100ms296kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?