#include<bits/stdc++.h>
using namespace std;
int main()
{
//freopen("choice.in","r",stdin);
//freopen("choice.out","w",stdout);
int m,n;
int a[100001];
int k=1;
cin>>m>>n;
for(int i=m;i<=n;i++)
{
if(i%7==0&&i%5!=0)
{
a[k]=i;
k++;
}
}
for(int i=1;i<k-1;i++)
cout<<a[i]<<",";
cout<<a[k-1];
return 0;
}
千里码编程自由题库1005
最新推荐文章于 2024-08-21 18:16:36 发布