Problems from Inter University Girls' Programming Contest Season 2 Mock

These problems are from a contest hosted on July 18, 2019 at 2:00 PM UTC. See details...

Standings
A. Like Old Times Again
Do you remember Lee? He was the only superhuman having the superpower of time traveling. A few years...
B. Gauss - The Great Mathematician
Carl Friedrich Gauss was a great mathematician. When he was a child, his teacher told him to sum up ...
C. For Loop FTW
You are given an integer N which can be represnted as the product of two positive integers. $ N = a_...
D. Think Positive
The greatest thieves of the Universe Tuki and Zha are finally captured and to punish them the scienc...
E. XOR on Pascal
Let's define F(N) as following: F(N)=(0N​)⊕(1N​)⊕(2N​)⊕⋯⊕(NN​) You are given an integer N(0≤N≤105), ...
F. Niko Plays PUBG
Gone are those days when Niko used to be a noob PUBG player. Now he gets “Chicken Dinner” every now ...
G. Potato
Every weekend, Potato becomes a couch potato and spends the whole time at home. Now, he got bored of...
H. Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
I. Robin Sparkles
Robin Sparkle went to the mall one day. While shopping, she remembered that she has a homework due t...
J. Man in the Queue
You are in charge of Khakha Bank Bashundhara Branch. Your branch has only one desk to serve the cust...
flash_7 Very Hard 26/29/71
K. Bakana
Given four positive integers $N, a, b, M$, find the value of $GCD(N^a-1, N^b-1)$ modulo $M$. Here, $...
L. Magical Pascal
Given an integer N, find the number of elements which are even in the first N rows of the Pascal's t...
Toph uses cookies. By continuing you agree to our Cookie Policy.