Borderou de evaluare (job #1785575)
Utilizator | Data | 21 octombrie 2016 16:30:59 | |
---|---|---|---|
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:26: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:42: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:59: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:108: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:119: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:158:3: error: ‘cin’ was not declared in this scope
cin >> N;
^
user.cpp:159:3: error: ‘cout’ was not declared in this scope
cout << (b(N - 1, N, N) / 2).str() << '\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !