/in/foo.c: In function 'factor':
/in/foo.c:12:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(i<=K);
^~~~~
/in/foo.c:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
{
^
/in/foo.c: In function 'main':
/in/foo.c:47:9: warning: too many arguments for format [-Wformat-extra-args]
printf("Factors:", num);
^~~~~~~~~~
/in/foo.c:44:8: warning: 'num' is used uninitialized in this function [-Wuninitialized]
sum=factor(m,fac, num);//一改错
~~~^~~~~~~~~~~~~~~~~~~