AntMan And The PolygonAntMan before escaping from the quantum realm thought about roaming around the realm. And much to h...

Enormous ProductYou are given two integers l and r. You need to find the value of As the value of this equation ma...

FYou are given an integer sequence a1,a2,…,ana_1, a_2,\ldots, a_na1,a2,…,an. For any nonnegative ...

GiveawayCherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...

Isn't It Strange?Cherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...

On the SeaCherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...

Perfect PointsPerfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p...

Permutations and DivisorsLet P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...

Playing On A Directed GraphYou are given a directed graph consisting of n vertices and m edges (each edge is directed, so it ca...

String Is Not That EasyLet's consider a string S which is obtained by concatenating the nonnegative integers from 0 to 102...

Subset ANDYou are given an array A of n integers and an integer k. You need to find if there is any nonempty ...

The SelectionSUST has n departments numbered from 1 to n where every pair of distinct departments is connected by...

Where Do Lovers Go?Cherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...

XOR PartitionNeo has a hidden array A of n integers where 0 ≤ Ai ≤ 109 is satisfied for each i from 1 to n . You ...

YouCherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...
