Borderou de evaluare (job #428872)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Paranteze | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 feb. 2019 18:22:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void generare(int, int)’:
user.cpp:13:30: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat]
user.cpp:14:9: error: expected ‘;’ before ‘return’
user.cpp: In function ‘int main()’:
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]