## IOI 2020 – Contest Day 1- Tickets Problem and Solution

The 32nd International Olympiad in Informatics was held in Online in 2020. There were two competition days, with 3 tasks given to the competitors on each day. You can see Tickets Problem and Solution below. Problem : Solution :  1,025 total views

## IOI 2020 – Contest Day 1- Supertrees Problem and Solution

The 32nd International Olympiad in Informatics was held in Online in 2020. There were two competition days, with 3 tasks given to the competitors on each day. You can see Supertrees Problem and Solution below. Problem : Solution :  855 total views

## IOI 2020 – Contest Day 1- Plants Problem and Solution

The 32nd International Olympiad in Informatics was held in Online in 2020. There were two competition days, with 3 tasks given to the competitors on each day. You can see Plants Problem and Solution below. Problem : Solution :  776 total views,  1 views today

## Day of the Programmer – HackerRank Solution

Problem : Marie invented a Time Machine and wants to test it by time-traveling to visit Russia on the Day of the Programmer (the 256th day of the year) during a year in the inclusive range from 1700 to 2700. From 1700 to 1917, Russia’s official calendar was the Julian

## APIO 2020 Problems and Solutions – Fun Tour

Time limit 2 s Memory limit 512 MB Problem : There are NN attractions in the biggest theme park in Jakarta, numbered from 00 to N - 1N−1. These attractions are connected by N - 1N−1 bidirectional roads such that there is a unique path between any pair of attractions through

## APIO 2020 Problems and Solutions – Swapping Cities

Time limit 2 s Memory limit 512 MB Problem : There are NN cities in Indonesia, numbered from 00 to N - 1N−1. There are also MM two-way roads, numbered from 00 to M - 1M−1. Each road connects two different cities. The ii-th road connects the U[i]U[i]-th city and

## APIO 2020 Problems and Solutions – Painting Walls

Time limit 1500 ms Memory limit 512 MB Problem : It has been a while since the last time Pak Dengklek painted the wall on his house, so he wants to repaint it. The wall consists of NN segments, numbered from 00 to N - 1N−1. For this problem, we

## Migratory Birds – HackerRank Solution

Problem : You have been asked to help study the population of birds migrating across the continent. Each type of bird you are interested in will be identified by an integer value. Each time a particular kind of bird is spotted, its id number will be added to your array of