Problems from SUB Intra University Programming Contest 2016

These problems are from a contest hosted on November 23, 2016 at 5:40 AM UTC. See details...

Standings
A. Pythagoras Rocks
A Pythagorean triple consists of three positive integers a, b, and c, such that a2+b2=c2. The Pythag...
B. Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
C. Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
D. Word Count
Counting the frequencies of words are a basic and important task in natural language processing. In ...
E. Smart Query Handler
Bit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati...
F. Arithmetic Sequence (Hard)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Math Very Easy 274/292/483
G. Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
H. Friendship Database
You have created a new social media for testing the irrationality of human behavior. In order to con...
I. Correct the Sieve
Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...
J. Building the Wall 2
The story of walls continue, here's a quick recap: Building walls around a country has become a popu...
Toph uses cookies. By continuing you agree to our Cookie Policy.