答案

小唐唐  •  1个月前


if 1

include

include

elif 1

include

include<windows.h>

else

include

include

endif

using namespace std; bool ab(int a){

if(a%7==0||a%10==7)
{
	return true;
}
return false;

} int main(){

int a=0,b=0;
cin>>a>>b;
for(;a<=b;a++)
{
	if(ab(a))
	{
		cout<<"pass"<<" ";
	}else{
		cout<<a<<" ";
	}
}
return 0;

}


评论:

请先登录,才能进行评论