Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Red and Blue codeforces problem code

 Problem Statement-

Monocarp had a sequence a consisting of n+m integers a1,a2,,an+m. He painted the elements into two colors, red and blue; n elements were painted red, all other m elements were painted blue.

After painting the elements, he has written two sequences r1,r2,,rn and b1,b2,,bm. The sequence r consisted of all red elements of a in the order they appeared in a; similarly, the sequence b consisted of all blue elements of a in the order th



This post first appeared on Technical Keeda, please read the originial post: here

Share the post

Red and Blue codeforces problem code

×

Subscribe to Technical Keeda

Get updates delivered right to your inbox!

Thank you for your subscription

×