Borderou de evaluare (job #2455444)
Utilizator | Data | 11 septembrie 2019 19:25:17 | |
---|---|---|---|
Problema | Showroom | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:107:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < v[i].size(); ++j)
~~^~~~~~~~~~~~~
main.cpp:126:15: error: request for member 'push_back' in 'd', which is of non-class type 'std::vector<int> [505]'
d.push_back(f[Find(i)]);
^~~~~~~~~
main.cpp:134:27: error: request for member 'size' in 'd', which is of non-class type 'std::vector<int> [505]'
for (int i = 0; i < d.size(); ++i)
^~~~
main.cpp:136:18: error: no match for 'operator>=' (operand types are 'std::vector<int>' and 'int')
if (d[i] >= a)
~~~~~^~~~
In file included from /usr/include/c++/6/regex:62:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:110,
from main.cpp:1:
/usr/include/c++/6/bits/regex.h:984:5: note: candidate: template<class _BiIter> bool std::__cxx11::operator>=(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)
operator>=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
^~~~~~~~
/usr/include/c++/6/bits/regex.h:984:5: note: template argument deduction/substitution failed:
main.cpp:136:21: note: 'std::vector<int>' is not derived from 'const std::__cxx11::sub_match<_BiIter>'
if (d[i] >= a)
^
In file included from /usr/include/c++/6/regex:62:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:110,
from main.cpp:1:
/usr/include/c++/6/bits/regex.h:1068:5: note: candidate: template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>=(std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const std::__cxx11::sub_match<_BiIter>&)
operator>=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
^~~~~~~~
/usr/include/c++/6/bits/regex.h:1068:5: note: template argument deduction/substitution failed:
main.cpp:136:21: note: 'std::vector<int>' is not derived from 'std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>'
if (d[i] >= a)
^
In file included from /usr/include/c++/6/regex:62:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:110,
from main.cpp:1:
/usr/include/c++/6/bits/regex.h:1148:5: note: candidate: template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>=(const std::__cxx11::sub_match<_BiIter>&, std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)
operator>=(const sub_match<_Bi_iter>& __lhs,
^~~~~~~~
/usr/include/c++/6/bits/regex.h:1148:5: note: template argument deduction/substitution failed:
main.cpp:136:21: note: 'std::vector<int>' is not derived from 'const std::__cxx11::sub_match<_BiIter>'
if (d[i] >= a)
^
In file included from /usr/include/c++/6/regex:62:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:110,
from main.cpp:1:
/usr/include/c++/6/bits/regex.h:1222:5: note: candidate: template<class _Bi_iter> bool std::__cxx11::operator>=(const typename std::iterator_traits<_Iter>::value_type*, const std::__cxx11::sub_match<_BiIter>&)
operator>=(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
^~~~~~~~
/usr/include/c++/6/bits/regex.h:1222:5: note: template argument deduction/substitution failed:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !