Borderou de evaluare (job #2224989)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 25 iulie 2018 17:29:55
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Add(int)’: user.cpp:66:20: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ and ‘const int’ to binary ‘operator%’ int i = abs(x) % mod; ~~~~~~~^~~~~ user.cpp: In function ‘int Find(int)’: user.cpp:78:19: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ and ‘const int’ to binary ‘operator%’ int i =abs(x) % mod; ~~~~~~~^~~~~ user.cpp: In function ‘void Erase(int)’: user.cpp:88:20: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ and ‘const int’ to binary ‘operator%’ int i = abs(x) % mod; ~~~~~~~^~~~~ user.cpp: In function ‘void ReadGraph()’: user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.in","r",stdin); ^ user.cpp:53:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.out","w",stdout); ^ user.cpp: In function ‘void Next()’: user.cpp:106:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] std::fread(buf, 1, Lim, stdin), u = 0; ^

Ceva nu functioneaza?