Problem segmenttreebeats
User Xrh999
Submission Time 2026-02-01 08:02:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttreebeats.cpp: In function ‘int main()’:
segmenttreebeats.cpp:17:17: 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 ‘()’ ?)
17 | if (nums[i].size < 2) continue;
| ()