競技プログラミングメモ
AtCoder
Aising2020 C
コード
問題
\(x, y, z \leq \sqrt{N}\) の範囲だけ計算すればいい. あとは \(x, y, z\) で全探索して数え上げる.
Back