Borderou de evaluare (job #498383)

Utilizator avatar NicuSavva Snake 117 NicuSavva IP ascuns
Problemă Aritma (clasa a 8-a) Compilator cpp
Rundă lasm_29_10_2019_10_12b Status evaluat
Dată 29 oct. 2019 21:43:58 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:35:3: error: no match for 'operator<' (operand types are 'std::ofstream' {aka 'std::basic_ofstream<char>'} and 'const char [125]') 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | const char [125] | std::ofstream {aka std::basic_ofstream<char>} In file included from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/regex:68, from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/i686-pc-linux-gnu/bits/stdc++.h:181, from main.cpp:1: /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1143:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator<(const sub_match<_BiIter>&, const sub_match<_BiIter>&)' 1143 | operator<(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs) | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1143:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: 'std::ofstream' {aka 'std::basic_ofstream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>' 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1224:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator<(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)' 1224 | operator<(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs, | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1224:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: 'std::ofstream' {aka 'std::basic_ofstream<char>'} is not derived from 'std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>' 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1317:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator<(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)' 1317 | operator<(const sub_match<_Bi_iter>& __lhs, | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1317:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: 'std::ofstream' {aka 'std::basic_ofstream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>' 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1391:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator<(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)' 1391 | operator<(typename iterator_traits<_Bi_iter>::value_type const* __lhs, | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1391:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'const char [125]' 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1485:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator<(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)' 1485 | operator<(const sub_match<_Bi_iter>& __lhs, | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1485:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: 'std::ofstream' {aka 'std::basic_ofstream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>' 35 | fo<"<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad=""javascript:window.close()""></body></html>"; | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1560:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator<(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)' 1560 | operator<(typename iterator_traits<_Bi_iter>::value_type const& __lhs, | ^~~~~~~~ /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/regex.h:1560:5: note: template argument deduction/substitution failed: main.cpp:35:117: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'const char [125]'