0_0_13110984_22294.cpp:1:280: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>mai: Invalid argument
#include<stdio.h>main(){int m,n,i,j,sum,flag=0;scanf("%d %d",&m,&n);if(0<=m&&n<=10000&&m<=n){ for(i=m;i<=n;i++) { sum=0; for(j=1;j<i/2+1;j++) { if(i%j==0) sum=sum+j; } if(sum==i) { printf("%d ",i); flag++; } }}if(flag==0) printf("no\n");}
^
compilation terminated.
|