K-th DuoPalindrome
Alice likes playing with Palindromes (strings that read the same backward as forward, such as 'madam...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Predict The Frequency
Luis was sleeping. He suddenly woke up with three positive integers N, M and X. He told his younger ...
Toph uses cookies. By continuing you agree to our Cookie Policy.