#include#include#includeint main(){ int i,sum=0,sign=1; for(i=1;i<=4;i++) { sum+=sign*i*i; sign=-sign; } printf("%d\n",sum); return 0;}
input x=1x=x+1y=(x-1)*2sum=sum+ywhile x>=100print sum