Borderou de evaluare (job #2733881)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 31 martie 2021 07:57:35
Problema Bob 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:24:27: error: 'gets' was not declared in this scope gets(s + 1); ^ main.cpp:51:31: error: 'gets' was not declared in this scope gets(s + 1); ^ main.cpp:13:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bob.in", "r", stdin); ^ main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bob.out", "w", stdout); ^ main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &p, &t); ^ main.cpp:21:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &k); ^ main.cpp:46:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &k); ^ main.cpp:79:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &x); ^ Non zero exit status: 1

Ceva nu functioneaza?