CodeForces Round #378 (Div. 2), problem: (B) Parade Solution In C

By |2017-04-07T22:11:50+00:00November 1st, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , |

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[100000][2],k=0;long int s=0,x,l=0,r=0; scanf("%d",&n); for(i=0;i