CodeForces Round #378 (Div. 2), problem: (B) Parade Solution In C
Hey Guys I just tried the Parade solution , hope you like it , comment if you have any better code . #include int main(){ int n,i,a,k=0;long int s=0,x,l=0,r=0; scanf(“%d”,&n); for(i=0;i