#include <cmath> class Factor { public: int getFactorSuffixZero(int n) { // write code here int res =0; while (n) { n /=5; res+=n; } return res; } };