Borderou de evaluare (job #2405248)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 14 aprilie 2019 11:15:53
Problema Diff 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:12:11: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:9:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("diff.in","r",stdin); ^ main.cpp:10:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("diff.out","w",stdout); ^ main.cpp:11:30: 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:66:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ Non zero exit status: 1

Ceva nu functioneaza?