Borderou de evaluare (job #3144944)
Utilizator | Data | 11 august 2023 15:12:01 | |
---|---|---|---|
Problema | Mult | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
cc1plus: error: attribute 'target' argument 'fast-math' is unknown
main.cpp: In member function 'void BigInt::normalize()':
main.cpp:15:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i = 0; i < v.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:21:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(i == v.size() - 1)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'std::ofstream& operator<<(std::ofstream&, const BigInt&)':
main.cpp:43:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if(i != value.v.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator+(const BigInt&)':
main.cpp:58:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
58 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:60:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:62:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator-(const BigInt&)':
main.cpp:73:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
73 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:75:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:77:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !