Borderou de evaluare (job #1011177)
Utilizator | Data | 16 octombrie 2013 14:03:30 | |
---|---|---|---|
Problema | Parb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void pass(std::list<char>&, int)’:
user.cpp:98:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p<sir.size() && (p+l)<sir.size() && (minim+l+1)<sir.size())
^
user.cpp:98:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p<sir.size() && (p+l)<sir.size() && (minim+l+1)<sir.size())
^
user.cpp:98:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p<sir.size() && (p+l)<sir.size() && (minim+l+1)<sir.size())
^
user.cpp:100:15: error: no match for ‘operator[]’ (operand types are ‘std::list<char>’ and ‘int’)
if(sir[p+l]==sir[minim+l])
^
user.cpp:100:25: error: no match for ‘operator[]’ (operand types are ‘std::list<char>’ and ‘int’)
if(sir[p+l]==sir[minim+l])
^
user.cpp:102:20: error: no match for ‘operator[]’ (operand types are ‘std::list<char>’ and ‘int’)
else if(sir[p+l]<sir[minim+l])
^
user.cpp:102:29: error: no match for ‘operator[]’ (operand types are ‘std::list<char>’ and ‘int’)
else if(sir[p+l]<sir[minim+l])
^
user.cpp: In function ‘bool comp(const std::list<char>&, int, const std::list<char>&, int)’:
user.cpp:130:13: error: no match for ‘operator[]’ (operand types are ‘const std::list<char>’ and ‘int’)
if(a[incep1+i]<b[incep2+i])
^
user.cpp:130:25: error: no match for ‘operator[]’ (operand types are ‘const std::list<char>’ and ‘int’)
if(a[incep1+i]<b[incep2+i])
^
user.cpp:132:18: error: no match for ‘operator[]’ (operand types are ‘const std::list<char>’ and ‘int’)
else if(a[incep1+i]>b[incep2+i])
^
user.cpp:132:30: error: no match for ‘operator[]’ (operand types are ‘const std::list<char>’ and ‘int’)
else if(a[incep1+i]>b[incep2+i])
^
user.cpp: In function ‘int main()’:
user.cpp:166:27: error: no match for ‘operator[]’ (operand types are ‘std::list<int>’ and ‘int’)
int incep_maxi=inceput[0];
^
user.cpp:168:27: error: no match for ‘operator+’ (operand types are ‘std::list<std::list<char> >::iterator {aka std::_List_iterator<std::list<char> >}’ and ‘int’)
for(it=(siruri.begin()+1),i=1;it!=siruri.end();it++,i++)
^
user.cpp:168:27: note: candidates are:
In file included from /usr/local/include/c++/4.8.0/bits/stl_algobase.h:67:0,
from /usr/local/include/c++/4.8.0/bits/char_traits.h:39,
from /usr/local/include/c++/4.8.0/ios:40,
from /usr/local/include/c++/4.8.0/istream:38,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:1:
/usr/local/include/c++/4.8.0/bits/stl_iterator.h:333:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !