Borderou de evaluare (job #2026332)
Utilizator | Data | 24 septembrie 2017 12:28:54 | |
---|---|---|---|
Problema | Xor Max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:31: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
fout<<rasp<<" "<<st+1<<" "<dr;
^
user.cpp:98:31: note: candidates are:
In file included from /usr/include/c++/4.8/regex:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:108,
from user.cpp:1:
/usr/include/c++/4.8/bits/regex.h:1334:5: note: template<class _Bi_iter> bool std::operator<(const std::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)
operator<(const sub_match<_Bi_iter>& __lhs,
^
/usr/include/c++/4.8/bits/regex.h:1334:5: note: template argument deduction/substitution failed:
user.cpp:98:32: note: ‘std::basic_ostream<char>’ is not derived from ‘const std::sub_match<_BiIter>’
fout<<rasp<<" "<<st+1<<" "<dr;
^
In file included from /usr/include/c++/4.8/regex:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:108,
from user.cpp:1:
/usr/include/c++/4.8/bits/regex.h:1254:5: note: template<class _Bi_iter> bool std::operator<(const typename std::iterator_traits<_Iter>::value_type&, const std::sub_match<_BiIter>&)
operator<(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
^
/usr/include/c++/4.8/bits/regex.h:1254:5: note: template argument deduction/substitution failed:
user.cpp:98:32: note: mismatched types ‘const std::sub_match<_BiIter>’ and ‘int’
fout<<rasp<<" "<<st+1<<" "<dr;
^
In file included from /usr/include/c++/4.8/regex:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:108,
from user.cpp:1:
/usr/include/c++/4.8/bits/regex.h:1177:5: note: template<class _Bi_iter> bool std::operator<(const std::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)
operator<(const sub_match<_Bi_iter>& __lhs,
^
/usr/include/c++/4.8/bits/regex.h:1177:5: note: template argument deduction/substitution failed:
user.cpp:98:32: note: ‘std::basic_ostream<char>’ is not derived from ‘const std::sub_match<_BiIter>’
fout<<rasp<<" "<<st+1<<" "<dr;
^
In file included from /usr/include/c++/4.8/regex:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:108,
from user.cpp:1:
/usr/include/c++/4.8/bits/regex.h:1103:5: note: template<class _Bi_iter> bool std::operator<(const typename std::iterator_traits<_Iter>::value_type*, const std::sub_match<_BiIter>&)
operator<(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
^
/usr/include/c++/4.8/bits/regex.h:1103:5: note: template argument deduction/substitution failed:
user.cpp:98:32: note: mismatched types ‘const typename std::iterator_traits<_Iter>::value_type*’ and ‘std::basic_ostream<char>’
fout<<rasp<<" "<<st+1<<" "<dr;
^
In file included from /usr/include/c++/4.8/regex:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:108,
from user.cpp:1:
/usr/include/c++/4.8/bits/regex.h:1029:5: note: template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::operator<(const std::sub_match<_BiIter>&, std::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)
operator<(const sub_match<_Bi_iter>& __lhs,
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !