没人回,我回了楼主看看[CODE]#include "stdio.h"
int main(){ long val,i;
scanf("%ld",&val); printf("%ld=",val);
for(i=2;val>1;i=i==2?i+1:i+2) while(val%i==0) { val/=i; printf("%d%c",i,val==1?32:42); } return 0;}[/CODE]
scanf("%ld",&val);初来乍到不易啊~~~
初来乍到的不容易啊~~~~