上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 39 下一页
摘要: roblem DescriptionTom owns a company and he is the boss. There are n staffs which are numbered from 1 to n in this company, and every staff has a abil... 阅读全文
posted @ 2015-07-22 15:50 Painting、时光 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Little X used to play a card game called "24 Game", but recently he has found it too easy. So he invented a new game.Initially you have a sequence ofn... 阅读全文
posted @ 2015-07-22 15:15 Painting、时光 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Mr. Kitayuta has just bought an undirected graph consisting ofnvertices andmedges. The vertices of the graph are numbered from 1 ton. Each edge, namel... 阅读全文
posted @ 2015-07-22 15:02 Painting、时光 阅读(233) 评论(0) 推荐(0) 编辑
摘要: DescriptionTomash keeps wandering off and getting lost while he is walking along the streets of Berland. It's no surprise! In his home town, for any p... 阅读全文
posted @ 2015-07-22 14:33 Painting、时光 阅读(163) 评论(0) 推荐(0) 编辑
摘要: DZY loves chemistry, and he enjoys mixing chemicals.DZY hasnchemicals, andmpairs of them will react. He wants to pour these chemicals into a test tube... 阅读全文
posted @ 2015-07-22 14:05 Painting、时光 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionOO has got a array A of size n ,defined a function f(l,r) represent the number of i (li) satisfy aimod aj=0,now OO want to know∑i=1... 阅读全文
posted @ 2015-07-21 19:47 Painting、时光 阅读(339) 评论(0) 推荐(0) 编辑
摘要: A colored stripe is represented by a horizontal row ofnsquare cells, each cell is pained one ofkcolors. Your task is to repaint the minimum number of ... 阅读全文
posted @ 2015-07-20 21:16 Painting、时光 阅读(289) 评论(0) 推荐(0) 编辑
摘要: /*大意:给出m给不认识关系,要把他们分成两组,每组人都要认识用一个col来记录是否相邻,如果出现奇数环会使得col[v] != 3 - color,不能省如果不存在边,特判,分一个人过去*/#include #include #include #include using namespace st... 阅读全文
posted @ 2015-07-20 20:31 Painting、时光 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Young theoretical computer scientist wyh2000 is teaching young pupils some basic concepts about strings.A subsequence of a stringsis a string that can... 阅读全文
posted @ 2015-07-20 14:53 Painting、时光 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Vasya has a very beautiful country garden that can be represented as ann × mrectangular field divided inton·msquares. One beautiful day Vasya remember... 阅读全文
posted @ 2015-07-20 14:33 Painting、时光 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 39 下一页