Borderou de evaluare (job #2251606)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 1 octombrie 2018 19:44:20
Problema Entropy Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:14:17: error: ‘gets’ was not declared in this scope gets(ch1); ^ user.cpp:9:13: warning: unused variable ‘j’ [-Wunused-variable] int t,i,j,a,b,c; ^ user.cpp:10:10: warning: unused variable ‘ch’ [-Wunused-variable] char ch; ^~ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("entropy.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("entropy.out","w",stdout); ^ user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^

Ceva nu functioneaza?