#include <stdio.h>
main()
{
int a;
for (a=100;a<=1000;a++)
{
if(a%4==2&&a%7==3&&a%9==5)
{
printf("%d\n",a);
break;
}
}
}
05-18
1065
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include <stdio.h>
main()
{
int a;
for (a=100;a<=1000;a++)
{
if(a%4==2&&a%7==3&&a%9==5)
{
printf("%d\n",a);
break;
}
}
}