共 15 页: 首页 上一页 3 4 5 6 7 8 9 10 11 下一页 末页
摘要:This is an interactive problem. You are given a sorted in increasing order singly linked list. You should find the minimum integer in the list which i 阅读全文
posted @ 2017-10-08 16:55 阿波罗2003 阅读 (98) 评论 (0) 编辑
摘要:Adieu l'ami. Koyomi is helping Oshino, an acquaintance of his, to take care of an open space around the abandoned Eikou Cram School building, Oshino's 阅读全文
posted @ 2017-10-07 19:29 阿波罗2003 阅读 (251) 评论 (0) 编辑
摘要:— This is not playing but duty as allies of justice, Nii-chan! — Not allies but justice itself, Onii-chan! With hands joined, go everywhere at a speed 阅读全文
posted @ 2017-10-07 19:04 阿波罗2003 阅读 (291) 评论 (0) 编辑
摘要:Even if the world is full of counterfeits, I still regard it as wonderful. Pile up herbs and incense, and arise again from the flames and ashes of its 阅读全文
posted @ 2017-10-07 18:52 阿波罗2003 阅读 (98) 评论 (0) 编辑
摘要:Rock... Paper! After Karen have found the deterministic winning (losing?) strategy for rock-paper-scissors, her brother, Koyomi, comes up with a new g 阅读全文
posted @ 2017-10-07 18:46 阿波罗2003 阅读 (50) 评论 (0) 编辑
摘要:You are given n strings s1, s2, ..., sn consisting of characters 0 and 1. m operations are performed, on each of them you concatenate two existing str 阅读全文
posted @ 2017-10-06 20:32 阿波罗2003 阅读 (240) 评论 (0) 编辑
摘要:Snark and Philip are preparing the problemset for the upcoming pre-qualification round for semi-quarter-finals. They have a bank of nproblems, and the 阅读全文
posted @ 2017-10-06 20:20 阿波罗2003 阅读 (151) 评论 (0) 编辑
摘要:Have you ever tried to explain to the coordinator, why it is eight hours to the contest and not a single problem has been prepared yet? Misha had. And 阅读全文
posted @ 2017-10-06 19:36 阿波罗2003 阅读 (40) 评论 (0) 编辑
摘要:As technologies develop, manufacturers are making the process of unlocking a phone as user-friendly as possible. To unlock its new phone, Arkady's pet 阅读全文
posted @ 2017-10-06 19:31 阿波罗2003 阅读 (103) 评论 (0) 编辑
摘要:(Another) YYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy's base. After overcoming a series difficulti 阅读全文
posted @ 2017-09-09 17:35 阿波罗2003 阅读 (70) 评论 (0) 编辑
摘要:In this problem you will meet the simplified model of game Pudding Monsters. An important process in developing any game is creating levels. A game fi 阅读全文
posted @ 2017-09-09 16:10 阿波罗2003 阅读 (131) 评论 (0) 编辑
摘要:Little boy Igor wants to become a traveller. At first, he decided to visit all the cities of his motherland — Uzhlyandia. It is widely known that Uzhl 阅读全文
posted @ 2017-08-26 21:24 阿波罗2003 阅读 (46) 评论 (0) 编辑
摘要:Grigory loves strings. Recently he found a metal strip on a loft. The strip had length n and consisted of letters "V" and "K". Unfortunately, rust has 阅读全文
posted @ 2017-08-21 22:52 阿波罗2003 阅读 (318) 评论 (0) 编辑
摘要:Leha plays a computer game, where is on each level is given a connected graph with n vertices and m edges. Graph can contain multiple edges, but can n 阅读全文
posted @ 2017-08-21 22:20 阿波罗2003 阅读 (209) 评论 (0) 编辑
摘要:给定n个正整数a1,a2,…,an,求 的值(答案模10^9+7)。 Input 第一行一个正整数n。 接下来n行,每行一个正整数,分别为a1,a2,…,an。 Output 仅一行答案。 Sample Input Sample Output Hint 1<=n<=10^5,1<=ai<=10^7。 阅读全文
posted @ 2017-08-16 22:51 阿波罗2003 阅读 (59) 评论 (0) 编辑
摘要:Slastyona and her loyal dog Pushok are playing a meaningless game that is indeed very interesting. The game consists of multiple rounds. Its rules are 阅读全文
posted @ 2017-08-15 21:31 阿波罗2003 阅读 (118) 评论 (0) 编辑
摘要:Winter is here at the North and the White Walkers are close. John Snow has an army consisting of n soldiers. While the rest of the world is fighting f 阅读全文
posted @ 2017-08-15 15:34 阿波罗2003 阅读 (96) 评论 (0) 编辑
摘要:There are n cities and n - 1 roads in the Seven Kingdoms, each road connects two cities and we can reach any city from any other by the roads. Theon a 阅读全文
posted @ 2017-08-15 14:54 阿波罗2003 阅读 (286) 评论 (0) 编辑
摘要:Daenerys Targaryen has an army consisting of k groups of soldiers, the i-th group contains ai soldiers. She wants to bring her army to the other side 阅读全文
posted @ 2017-08-15 14:43 阿波罗2003 阅读 (229) 评论 (0) 编辑
摘要:Bran and his older sister Arya are from the same house. Bran like candies so much, so Arya is going to give him some Candies. At first, Arya and Bran 阅读全文
posted @ 2017-08-15 14:29 阿波罗2003 阅读 (43) 评论 (0) 编辑
摘要:Sean owns a company and he is the BOSS.The other Staff has one Superior.every staff has a loyalty and ability.Some times Sean will fire one staff.Then 阅读全文
posted @ 2017-08-12 13:39 阿波罗2003 阅读 (254) 评论 (0) 编辑
摘要:Being a knight is a very attractive career: searching for the Holy Grail, saving damsels in distress, and drinking with the other knights are fun thin 阅读全文
posted @ 2017-08-10 21:14 阿波罗2003 阅读 (50) 评论 (0) 编辑
摘要:一个有向图G=(V,E)称为半连通的(Semi-Connected),如果满足:?u,v∈V,满足u→v或v→u,即对于图中任意两点u,v,存在一条u到v的有向路径或者从v到u的有向路径。若G'=(V',E')满足V'?V,E'是E中所有跟V'有关的边,则称G'是G的一个导出子图。若G'是G的导出子 阅读全文
posted @ 2017-08-09 16:53 阿波罗2003 阅读 (48) 评论 (0) 编辑
摘要:Kyle is a student of Programming Monkey Elementary School. Just as others, he is deeply concerned with his grades. Last month, the school held an exam 阅读全文
posted @ 2017-08-08 17:29 阿波罗2003 阅读 (51) 评论 (0) 编辑
摘要:描述 一条单向的铁路线上,依次有编号为 1, 2, ..., n 的 n 个火车站。每个火车站都有一个级别,最低为 1 级。现有若干趟车次在这条线路上行驶,每一趟都满足如下要求:如果这趟车次停靠了火车站 x,则始发站、终点站之间所有级别大于等于火车站 x 的都必须停靠。(注意:起始站和终点站自然也算 阅读全文
posted @ 2017-08-08 14:02 阿波罗2003 阅读 (68) 评论 (0) 编辑
共 15 页: 首页 上一页 3 4 5 6 7 8 9 10 11 下一页 末页