Borderou de evaluare (job #2407375)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 16 aprilie 2019 20:17:02
Problema Doipe 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:18:15: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.in","r",stdin); ^ main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.out","w",stdout); ^ main.cpp:13:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ main.cpp:17:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ Non zero exit status: 1

Ceva nu functioneaza?