Jim and his LAN Party

Cerinta completa During the Steam Summer Sale, Jim’s friends have purchased games, which are numbered from to . The games are multiplayer. Jim has invited his friends to his basement where they will play by making a LAN-Party. Each friend

Kingdom Connectivity

Cerinta completa It has been a prosperous year for King Charles and he is rapidly expanding his empire. In fact, he recently invaded his neighboring country and set up a new kingdom! This kingdom has many cities connected by one-way

Jogging Cats

Cerinta completa It’s almost summertime, so Big Cat and Little Cat are getting in shape. They decide the core of their fitness plan is to start jogging every day. Their city consists of intersections connected by bidirectional roads. The cats

Inverse RMQ

Cerinta completa Range Minimum Query is a well-known problem: given an array of distinct integers with size and queries, find the minimum element on subsegment . One of the most efficient and famous solutions to this problem is a segment

Jumping Rooks

Cerinta completa Nina has an chessboard and jumping rooks. Every cell of the chessboard is either blocked or free, and Nina can only put a single rook in any free cell. Two jumping rooks beat each other if they are

Journey Scheduling

Cerinta completa Fedya is a seasoned traveller and is planning his trip to Treeland. Treeland is a country with an ancient road system which is in the form of a tree structure. cities of Treeland are numbered by positive integers:

Jeanie’s Route

Cerinta completa Byteland has cities (numbered from to ) and bidirectional roads. It is guaranteed that there is a route from any city to any other city. Jeanie is a postal worker who must deliver letters to various cities in