Least Complicated Mind
You are given an array A of N positive integers. You can do the following operation any number of ti...
StackLang
StackLang is a stack-based programming language. Here, each program contains a series of commands th...
Black or White
Imagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell...
Fraction and Its Representation
Given three integers m,n,b (m<n), let’s consider the representation of m/n in base b. Since m<n, res...
Painting a Red X
The ground floor of AUST has been renovated. It now looks like a square with N×N tiles. The tiles ar...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Clock Fantasy
One day the author imagined an analog clock with minute and hour arms. The thought was simple: if we...
Three Letter Words
Given a line of text find all the three-letter words.
That One
In the input you will have an integer n (where n is 1, 2, or 3) followed by 3 words. You will have t...
Two Words
Given a line of text (space-separated words), find the first word that appears at least twice in the...
One-dimensional
Imagine there are several lines in an one dimensional space. You are given the starting and ending p...
Half Measures
The numbers 1,2,3,⋯n (each integer from 1 to n once) are written on a board. In one operation, Jesse...
Predict The Frequency
Luis was sleeping. He suddenly woke up with three positive integers N, M and X. He told his younger ...
Alligator Sky
There are N balls in a box. You have two robots Alice and Bob. You will set favorite number for each...
Argentina Vs Saudi Arabia
Argentina Suffered one of the World Cup’s greatest shocks as Saudi Arabia came from behind to win an...
Mission Top Ten
This year, Bob will participate in the "Take-Off Programming Contest Spring 2023", a prestigious pro...
Time to Prove
Your friend is participating in the "Take-off Programming Contest Spring 2023". This time, he wants ...
In Search of a Friend
Rafi lives in a 2D space. He wants to participate in the “Take-off Programming Contest Spring 2023” ...
Reassemble
There are N posts in a line numbered from 1 to N from left to right. Each post i has a distance di​ ...
Gardening
You are given a tree with N vertices. Here, a tree is an undirected graph in which any two vertices ...
Peculiar Partitioning II
You are given an array a of length n. Each element of the array is a non-negative integer less than ...
Safwan's Book Bonanza
A grand book fair is taking place in your city, showcasing a dazzling array of books and publication...
The Clash of Tactical Titans: Klopp vs. Ten Hag
In the intense world of football rivalries, where victory and defeat carry immense weight, two icon...
Farewell
Alice has found an array A containing n non-negative integers, where the i-th element is named Ai​. ...
Invertible Construction
You are given two integers n and k. We define an operation on a r×c binary matrix as follows: Choos...
Toph uses cookies. By continuing you agree to our Cookie Policy.