Borderou de evaluare (job #747787)
Utilizator | Data | 11 mai 2012 20:29:10 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘universal_hash<T>::universal_hash()’:
user.cpp:213: error: there are no arguments to ‘rand’ that depend on a template parameter, so a declaration of ‘rand’ must be available
user.cpp:213: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
user.cpp:214: error: there are no arguments to ‘rand’ that depend on a template parameter, so a declaration of ‘rand’ must be available
user.cpp: In function ‘int main()’:
user.cpp:246: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:247: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:250: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:253: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !