摘要:
A. Diverse Team time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n students in a 阅读全文
摘要:
Fight Against Traffic Little town Nsk consists of n junctions connected by m bidirectional roads. Each road connects two distinct junctions and no two 阅读全文
摘要:
A.Div. 64 Top-model Izabella participates in the competition. She wants to impress judges and show her mathematical skills. Her problem is following: 阅读全文
摘要:
Can you answer these queries? A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to 阅读全文
摘要:
A. Infinity Gauntlet time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You took a peek on T 阅读全文
摘要:
Super Mario Mario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is in trouble 阅读全文
摘要:
Master of GCD Hakase has n numbers in a line. At first, they are all equal to 1. Besides, Hakase is interested in primes. She will choose a continuous 阅读全文
摘要:
Nested Segments You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it 阅读全文
摘要:
Black And White In mathematics, the four color theorem, or the four color map theorem, states that, given any separation of a plane into contiguous re 阅读全文
摘要:
Happy Matt Friends Matt has N friends. They are playing a game together. Each of Matt’s friends has a magic number. In the game, Matt selects some (co 阅读全文