aboutsummaryrefslogtreecommitdiff
path: root/cses/TrailingZeros/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cses/TrailingZeros/main.cpp')
-rw-r--r--cses/TrailingZeros/main.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/cses/TrailingZeros/main.cpp b/cses/TrailingZeros/main.cpp
deleted file mode 100644
index e41854e..0000000
--- a/cses/TrailingZeros/main.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include<bits/stdc++.h>
-
-using namespace std;
-
-int main () {
- ios_base::sync_with_stdio(false);
- cin.tie(NULL);
- int n;
- cin >> n;
- int ans = 0;
- for (int i = 5; n >= i; i *= 5) {
- ans += n / i;
- }
- cout << ans << '\n';
-}