codeforce

Can you eat it

You are a person who is always fond of eating candies. Your friend gave you a candy of length N…

kalindrome Array

An array [b1,b2,…,bm] is a palindrome, if bi=bm+1−i for each i from 1 to m. Empty array is als…

Functional Array

The functional array of an array A=[A1,A2,…,AN] is the array fA of size N−1, where fAi=Ai+1−Ai …

Largest Laddu

This Diwali, Chef has decided to treat himself to a laddu feast. Chef's friends brought hi…

Linear Keyword

You are given a keyboard that consists of 26 keys. The keys are arranged sequentially in one r…

Di-visible Confusion

YouKn0wWho has an integer sequence a1,a2,…,an. He will perform the following operation until th…

Load More
That is All