Borderou de evaluare (job #2735907)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 2 aprilie 2021 22:39:39
Problema Dreptunghi3 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:68:15: error: 'gets' was not declared in this scope gets(s + 1); ^ main.cpp:64:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghi3.in", "r", stdin); ^ main.cpp:65:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghi3.out", "w", stdout); ^ main.cpp:67:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &p); ^ Non zero exit status: 1

Ceva nu functioneaza?