This comment is hidden because it contains spoiler information about the solution
An invisible U+00ad character is hidden there as the variable name.
(int)
vector.size()
int
unsigned long
std::size_t
std::pow
pow
To avoid copying of a std::vector
[updated wiki link](https://en.wikipedia.org/wiki/Guard_(computer_science)
Re-raised as an issue.
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
An invisible U+00ad character is hidden there as the variable name.
(int)
was added to castvector.size()
to typeint
fromunsigned long
orstd::size_t
. If you don't add it, there will be compile time warning.std::pow
is the standard C++ function.pow
was derived from C stdlib.To avoid copying of a std::vector
[updated wiki link](https://en.wikipedia.org/wiki/Guard_(computer_science)
Re-raised as an issue.