Borderou de evaluare (job #2260783)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 15 octombrie 2018 16:17:57
Problema Momente 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:45:15: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:24:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("momente.in","r",stdin); ^ main.cpp:25:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("momente.out","w",stdout); ^ main.cpp:27:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &t); ^

Ceva nu functioneaza?