Borderou de evaluare (job #1496442)

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

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool NOT(char, char)’: user.cpp:16:47: error: ‘a’ was not declared in this scope ++poz; ++poz; ++poz; ++poz; ++poz; a (); ^ user.cpp:20:40: error: ‘a’ was not declared in this scope ++poz; ++poz; ++poz; ++poz; a (); ^ user.cpp:24:19: error: ‘a’ was not declared in this scope ++poz; a (); ^ user.cpp:28:19: error: ‘a’ was not declared in this scope ++poz; a (); ^ user.cpp: In function ‘bool VAL(char, char)’: user.cpp:35:40: error: ‘a’ was not declared in this scope ++poz; ++poz; ++poz; ++poz; a (); ^ user.cpp:39:47: error: ‘a’ was not declared in this scope ++poz; ++poz; ++poz; ++poz; ++poz; a (); ^ user.cpp:43:19: error: ‘a’ was not declared in this scope ++poz; a (); ^ user.cpp:47:19: error: ‘a’ was not declared in this scope ++poz; a (); ^ user.cpp: In function ‘bool NOT(char, char)’: user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘bool VAL(char, char)’: user.cpp:50: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); ^

Ceva nu functioneaza?