Task Find the number of points of C(k) whose coordinates are positive integers.
Zero is not positive.
Lol, I spent more than a hour trying to solve it, since I thought that 2x**2 means 2*(x^2). I'd write it explicitly.
guess we should use (current < end && (*current == '.' || *current == '-')) or do not use current < end check at all.
(current < end && (*current == '.' || *current == '-'))
current < end
Loading collection data...
Zero is not positive.
Lol, I spent more than a hour trying to solve it, since I thought that 2x**2 means 2*(x^2). I'd write it explicitly.
guess we should use
(current < end && (*current == '.' || *current == '-'))
or do not usecurrent < end
check at all.