Easy20 pts
Sherlock and Squares
a to b (inclusive). Count integers n where n is a perfect square.
Input
q; each: a b
Output
Count per query.
Sample
2 3 9 17 24
Expected
2 0
Loading editor…
Output
No output yet. Run your code to see results.
a to b (inclusive). Count integers n where n is a perfect square.
q; each: a b
Count per query.
2 3 9 17 24
2 0
Loading editor…
No output yet. Run your code to see results.