Problem | problemsetter |
---|---|
User | nutzzzz |
Submission Time | 2025-02-22 11:37:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
problemsetter.cpp: In function ‘int main()’:
problemsetter.cpp:56:9: error: expected ‘,’ or ‘;’ before ‘signed’
56 | signed x = (lb-ms.begin());
| ^~~~~~
problemsetter.cpp:57:47: error: ‘x’ was not declared in this scope
57 | ans += static_cast<long long>(max(sat[x-1]-d, 0LL));
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from problemsetter.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = const std::pair<long long int, double>; _Iterator = __gnu_cxx::__normal_iterator<std::pair<