Borderou de evaluare (job #1785574)
Utilizator | Data | 21 octombrie 2016 16:30:01 | |
---|---|---|---|
Problema | Rute | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘BigInt BigInt::operator+(BigInt)’:
user.cpp:27:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
^
user.cpp: In member function ‘BigInt BigInt::operator-(BigInt)’:
user.cpp:43:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
^
user.cpp: In member function ‘BigInt BigInt::operator*(int)’:
user.cpp:60:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
^
user.cpp: In member function ‘std::string BigInt::str()’:
user.cpp:109:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ret += (i < v.size()-1 ? std::string(basewidth-s.size(), '0') : "") + s;
^
user.cpp: In function ‘BigInt operator*(int, BigInt)’:
user.cpp:120:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.v.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:156:14: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in("rute.in");
^
user.cpp:157:15: error: variable ‘std::ofstream out’ has initializer but incomplete type
ofstream out("rute.out");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !