[Plain Text] catch licence plate →→→→→进入此内容的聊天室

来自 zz, 2022-11-28, 写在 Plain Text, 查看 58 次.
URL http://www.code666.cn/view/bc8660d6
  1. #include"stdio.h"
  2.  
  3. void main()
  4. {
  5.         int plate=0,a,b,i;
  6.         for (i=0;i<32;i++)
  7.         {  
  8.         for (a=0;a<9;a++)
  9.         {
  10.                 for(b=0;b<9;b++)
  11.                 {
  12.                    plate=1000*a+100*a+10*b+b;
  13.                    if (plate==i*i&&a!=b) printf("\n%4d\n",plate);
  14.                 }
  15.         }
  16.                  
  17.         }
  18.         printf("\n所有结果如上\n");
  19. }
  20.  

回复 "catch licence plate"

这儿你可以回复上面这条便签

captcha