Smallest square that begins with n: Difference between revisions

Content added Content deleted
Line 868: Line 868:


// Choose an arbitrary big integer to make sure brute forcing effective
// Choose an arbitrary big integer to make sure brute forcing effective
// FYI 45_369+1 suffices for 0 < n < 50
// FYI 45_369+1 suffices for 0 < n < 50. The output below tells...


const int upperBound = 1_000_000;
const int upperBound = 1_000_000;