Monthly Archives: December 2017

Codeforces Round 451 – Problem F

Problem F : Restoring the Expression Statement: You are given a string which is of form ” a + b = c “, where ‘a’, ‘b’ ,’c’ are non-negative integers. Now the ‘+’ and ‘=’ sign has been removed from the string to form a string ‘abc’. Now you have to find the places where… Read More »

Codeforces Round 450 – Problem E

Problem E :Maximum Questions Statement :   You are given two strings ‘s’ and ‘t’ where every character of string ‘s’ can only be ‘a’, ‘b’ or ‘?’. Now, string ‘t’ is a string like “abababababa——“, in which every character at odd position is ‘a’ and at even position is ‘b’. The length of string ‘s’… Read More »

Codeforces Round 451 – Problem D

Problem D :Alarm Clock Statement : Vitalya sets n alarm clocks to wake up.Every alarm clock rings during exactly one minute and is characterized by one integer A[i] — number of minute after midnight in which it rings. Every alarm clock begins ringing at the beginning of the minute and rings during whole minute. Vitalya… Read More »