#include void main(){int i;int sum=0,p=1;for(i=1;i<=20;i++){p=p*i;sum=sum+p;}printf("sum=%d\n",sum);}