Rosetta Problems

Digit vs Square Root

https://atcoder.jp/contests/arc174/tasks/arc174_d