#include<stdio.h> int main() {     long n;     int i;     long m;     long temp;     scanf("%ld",&n);          for(i=1;i<=n;i++)     {           temp=i;         //m=temp%10;         if(temp%3==0)     {         while(temp)         {    if(temp%10==5)             printf("%ld\n",i);              temp/=10;                       }                  }                 }     return 0; } /* 根据你写的改了一下 */
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务