#include<set>
#include<iostream>
using namespace std;
int main()
{
set<int> v;
int n;
cin>>n;
int sum=0;
for(int i=1;i<=n;i++){
sum=i/2+i/3+i/5;
v.insert(sum);
}
cout<<v.size();
return 0;
}
相关文章
- 11-30PAT (Advanced Level) 1100. Mars Numbers (20)
- 11-301100 Mars Numbers——PAT甲级真题
- 11-30PAT乙级 1017. A除以B (20)
- 11-30PAT A1089 Insert or Merge (25 分)
- 11-30PAT甲级1011水题飘过
- 11-301014--乙级
- 11-301087. All Roads Lead to Rome (30)
- 11-30PAT Basic1003 我要通过
- 11-30PAT (Advanced Level) 1066. Root of AVL Tree (25)
- 11-30PAT-乙级-1017. A除以B (20)