#include<stdio.h>
int main()
{
long long x , y;
scanf("%lld %lld",&x,&y);
long long i, temp;
if(x>y){
temp=x;
x=y;
y=temp;
}
for(i=x+1; i<y; i++){
if(i%5==2 || i%5==3)
printf("%lld\n",i);
}
return 0;
}
int main()
{
long long x , y;
scanf("%lld %lld",&x,&y);
long long i, temp;
if(x>y){
temp=x;
x=y;
y=temp;
}
for(i=x+1; i<y; i++){
if(i%5==2 || i%5==3)
printf("%lld\n",i);
}
return 0;
}
No comments:
Post a Comment