1 2 3 4 5 6 7 8 9
#include <iostream> int main() { int n, c{0}; std::cin >> n; while (n > 0) c += (n /= 5); std::cout << c << std::endl; }
Generated with cgit - Back to sebastiano.tronto.net