Borderou de evaluare (job #1280555)
Utilizator | Data | 2 decembrie 2014 09:02:40 | |
---|---|---|---|
Problema | Criptare2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void Hash::Insert(long long unsigned int)’:
user.cpp:13:24: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ and ‘const int’ to binary ‘operator%’
int r = abs(x)%MOD;
^
user.cpp: In member function ‘int Hash::Cnt(long long unsigned int)’:
user.cpp:21:24: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ and ‘const int’ to binary ‘operator%’
int r = abs(x)%MOD;
^
user.cpp: In function ‘int main()’:
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.in","r",stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !