#include<stdio.h> intmain(){ inti,s=0,t=-1; for(i=1;i<=100;i++){ s+=t*i; t*=-1; } printf("%d",s); return0; }