Borderou de evaluare (job #889289)
Utilizator | Data | 24 februarie 2013 12:59:42 | |
---|---|---|---|
Problema | Kgon | Status | done |
Runda | Algoritmiada 2013 - Runda 3, Clasele 5-9 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int cauta(double)’:
user.cpp:35: error: call of overloaded ‘abs(double)’ is ambiguous
/usr/include/stdlib.h:766: note: candidates are: int abs(int)
/usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int)
/usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int)
user.cpp: In function ‘int main()’:
user.cpp:86: warning: suggest parentheses around assignment used as truth value
user.cpp:95: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
user.cpp:43: warning: unused variable ‘player_unu’
user.cpp:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:52: warning: ignoring return value of ‘int fscanf(FILE*, 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 !