Numbers whose count of divisors is prime: Difference between revisions

m
C++ - restored accidentally deleted line
m (→‎{{header|Raku}}: Simplify)
m (C++ - restored accidentally deleted line)
Line 103:
return EXIT_FAILURE;
}
int width = static_cast<int>(std::ceil(std::log10(limit)));
int count = 0;
for (int i = 1;; ++i) {
int n = i * i;
1,777

edits