input/code.cpp: In function 'int main()':
input/code.cpp:35:16: error: 'end' was not declared in this scope
sum += end - begin;
^~~
input/code.cpp:35:16: note: suggested alternative:
In file included from /usr/include/c++/7/string:51:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from input/code.cpp:1:
/usr/include/c++/7/bits/range_access.h:97:5: note: 'std::end'
end(_Tp (&__arr)[_Nm])
^~~
input/code.cpp:35:22: error: 'begin' was not declared in this scope
sum += end - begin;
^~~~~
input/code.cpp:35:22: note: suggested alternative:
In file included from /usr/include/c++/7/string:51:0,
from /usr/include/c++/7/bits/locale_classes.h:40,...