用的是C语言 不知道你说的是什么软件#include main(){ int a,b; for (a=0;;a=a-1) { for (b=0;;b++) { if ((x^3+x^2+ax+b)%x^2-3x+2==0) { printf("a=%d,b=%d"a,b); } } }}