Borderou de evaluare (job #935823)
Utilizator | Data | 4 aprilie 2013 21:22:15 | |
---|---|---|---|
Problema | Expozitie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void bigint::operator+(bigint&)’:
user.cpp:44: error: ‘result’ was not declared in this scope
user.cpp:44: error: return-statement with a value, in function returning 'void'
user.cpp: In function ‘int main()’:
user.cpp:74: error: no match for ‘operator=’ in ‘((std::vector<bigint, std::allocator<bigint> >*)comb.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<bigint, std::allocator<bigint> >, _Alloc = std::allocator<std::vector<bigint, std::allocator<bigint> > >](((unsigned int)l)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = bigint, _Alloc = std::allocator<bigint>](((unsigned int)j)) = ((bigint*)((std::vector<bigint, std::allocator<bigint> >*)comb.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<bigint, std::allocator<bigint> >, _Alloc = std::allocator<std::vector<bigint, std::allocator<bigint> > >](((unsigned int)(l ^ 1))))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = bigint, _Alloc = std::allocator<bigint>](((unsigned int)j)))->bigint::operator+(((bigint&)((bigint*)((std::vector<bigint, std::allocator<bigint> >*)comb.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<bigint, std::allocator<bigint> >, _Alloc = std::allocator<std::vector<bigint, std::allocator<bigint> > >](((unsigned int)(l ^ 1))))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = bigint, _Alloc = std::allocator<bigint>](((unsigned int)(j + -0x00000000000000001))))))’
user.cpp:11: note: candidates are: bigint& bigint::operator=(const bigint&)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !