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[100000][2],k=0;long int s=0,x,l=0,r=0;
scanf(“%d”,&n);
for(i=0;is)
{ k=i+1;s=x;
}
}
printf(“%d”,k);

return 0;
}

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;is)
{ k=i+1;s=x;
}
}
printf(“%d”,k);

return 0;
}

More from author

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related posts

Advertismentspot_img

Latest posts

Supernatural: Wayward Special #1 Preview: Winchesters Split Up

Fans of the long-running television phenomenon Supernatural are in for a fresh dose of nostalgia and hunter drama with the upcoming release of the...

The Real Truth About Viral Kitchen Gadgets Before You Buy

📢 As an Amazon Associate, I earn from qualifying purchases.If you had told me six months ago that a single purchase would change how...

Bird flu could devastate Macquarie Island. Why are we removing the scientists we need to understand it?

Macquarie Island, a remote sub-Antarctic wildlife haven situated midway between Tasmania and Antarctica, is confronting an imminent ecological crisis. As the highly pathogenic H5N1...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!