5 条题解
-
0
#include <queue> #include <math.h> #include <cmath> #include <stack> #include <stdio.h> #include <iostream> #include <vector> #include <iomanip> #include <string.h> #include <algorithm> #include <cstring> #include <bits/stdc++.h> #include <limits> using namespace std; long long n,wu; int main(){ cin>>n; for(long long i=5;i<=n;i*=5){ wu+=n/i; } cout<<wu; return 0; }
信息
- ID
- 991
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 6
- 标签
- 递交数
- 305
- 已通过
- 93
- 上传者