Borderou de evaluare (job #2358018)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 27 februarie 2019 20:54:38
Problema Rezervatie Naturala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:39:11: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:24:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rezervatie.in", "r", stdin); ^ main.cpp:25:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rezervatie.out", "w", stdout); ^ main.cpp:38:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n , &m); ^ main.cpp:71:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:74:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ Non zero exit status: 1

Ceva nu functioneaza?