# Problems from Stamford Regional Practice

These problems are from a contest hosted on . See details...

#### A. The Archipelago of Mirpur

The archipelago of Mirpur consists of N islands. The famous architect PogPog was hired to connect al...

#### B. Modulo

Let’s get straight into the problem. In ths problem, here will be multiple test cases. In each test ...

#### C. Day-Month-Year

Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa...

#### D. Expected Result

A witch has imprisoned Bob in the 1st room of the Central Witchland Hotel. The hotel is weird. All t...

#### E. Goku's Tree

Recently Goku has discovered a rooted tree graph. Goku’s tree has N nodes, among them node 1 is the ...

#### F. SumTheWhat's

You are given array A and array B consisting of n elements. You can permute the elements in each of ...

#### G. Granger Danger

Hermione Granger is in trouble. Using Floo powder, she somehow ended in a pub in Knockturn Alley. Th...