so easy two

ljy123456 爱因斯坦 2023-04-19 21:02:15 2023-04-20 15:35:31 25
{{ vote && vote.total.up }}

共 2 条回复

zhangxuanrui

#include <stdio.h> int main() { int a,b,c; for(a=123;a<=333;a++) { b=a2; c=a3; if((a/100+a/10%10+a%10+b/100+b/10%10+b%10+c/100+c/10%10+c%10==1+2+3+4+5+6+7+8+9)&&((a/100)(a/10%10)(a%10)(b/100)(b/10%10)(b%10)(c/100)(c/10%10)(c%10)==(1)(2)(3)(4)(5)(6)(7)(8)(9))) printf("%d %d %d\n",a,b,c); } return 0; }

root 站长

不准发全部代码!