Borderou de evaluare (job #792842)
Utilizator | Data | 30 septembrie 2012 21:33:44 | |
---|---|---|---|
Problema | Diamant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:20: error: fstream.h: No such file or directory
user.cpp:10: error: ‘ifstream’ does not name a type
user.cpp:11: error: ‘ofstream’ does not name a type
user.cpp: In function ‘int main()’:
user.cpp:18: error: ‘f’ was not declared in this scope
user.cpp:30: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
user.cpp:39: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
user.cpp:41: error: ‘g’ was not declared in this scope
user.cpp:41: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
user.cpp:46: error: ‘g’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !