Borderou de evaluare (job #86438)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Secvenţă Bitonă (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 nov. 2014 15:47:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: expected ‘,’ or ‘...’ before ‘n’
user.cpp: In function ‘int sem(bool)’:
user.cpp:6:8: error: ‘semn’ was not declared in this scope
user.cpp:7:12: error: ‘a’ was not declared in this scope
user.cpp:7:15: error: ‘b’ was not declared in this scope
user.cpp:12:12: error: ‘a’ was not declared in this scope
user.cpp:12:15: error: ‘b’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:44:29: error: too many arguments to function ‘int sem(bool)’
user.cpp:3:5: note: declared here
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘int sem(bool)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]