05 2018 档案

摘要:Fight Against Traffic Little town Nsk consists of n junctions connected by m bidirectional roads. Each road connects two distinct junctions and no two 阅读全文
posted @ 2018-05-31 23:14 MengX 阅读(267) 评论(0) 推荐(0)
摘要:A.Div. 64 Top-model Izabella participates in the competition. She wants to impress judges and show her mathematical skills. Her problem is following: 阅读全文
posted @ 2018-05-31 23:00 MengX 阅读(287) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-30 21:49 MengX 阅读(163) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-30 19:03 MengX 阅读(332) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-29 14:39 MengX 阅读(184) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-24 20:21 MengX 阅读(498) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-23 22:02 MengX 阅读(196) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-22 22:58 MengX 阅读(267) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-05-22 22:46 MengX 阅读(187) 评论(0) 推荐(0)
摘要:A-maze-ing 题目传送门:滴滴滴 Long long age, a wise but barbaric king made a plan to convert the arena to a maze so that he could get pleasure from watching hi 阅读全文
posted @ 2018-05-21 14:22 MengX 阅读(272) 评论(0) 推荐(0)
摘要:Constructing Roads Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 26772 Accepted: 11764 Description There are N villages, which are number 阅读全文
posted @ 2018-05-21 13:59 MengX 阅读(152) 评论(0) 推荐(0)
摘要:Minimum Inversion Number hdu 1394 The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j a 阅读全文
posted @ 2018-05-20 16:55 MengX 阅读(392) 评论(1) 推荐(1)
摘要:敌兵布阵 C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都 阅读全文
posted @ 2018-05-20 15:43 MengX 阅读(132) 评论(0) 推荐(0)
摘要:A. Row time limit per test:1 second time limit per test:1 second memory limit per test:256 megabytes memory limit per test:256 megabytes input:standar 阅读全文
posted @ 2018-05-20 14:30 MengX 阅读(322) 评论(0) 推荐(0)
摘要:A Walk Through the Forest Jimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To relax after a 阅读全文
posted @ 2018-05-20 11:18 MengX 阅读(238) 评论(0) 推荐(0)

梦想不是空想