about summary refs log tree commit diff
path: root/NTU/demso0.c
diff options
context:
space:
mode:
Diffstat (limited to 'NTU/demso0.c')
-rw-r--r--NTU/demso0.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/NTU/demso0.c b/NTU/demso0.c
new file mode 100644
index 0000000..78942c8
--- /dev/null
+++ b/NTU/demso0.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+int main()
+{
+	short n;
+
+	scanf("%hd", &n);
+
+	printf("%d\n", n/5 + n/25 + n/125 + n/625);
+
+	return 0;
+}