Borderou de evaluare (job #2547432)
Utilizator | Data | 15 februarie 2020 12:48:41 | |
---|---|---|---|
Problema | Text3 | 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:17:33: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]' (did you forget the '()' ?)
while(in >> s[++ n] && s[n].size > 0)
~~~~~^~~~
main.cpp:21:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[a] + 1 > v[b]);
^~
main.cpp:22:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
{
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !