随笔分类 -  OI

摘要:[OpenJudge 3063]罪犯问题 试题描述 一天,警官抓获了N个嫌犯,审问N个罪犯的途中,作为警长助手的你突然发现其中被确定为罪犯的K号人是你曾经出生入死的兄弟,你不能眼睁睁看着他被抓进牢里。 审问完了嫌犯之后,发现每个人都说话了,并且每个人只说了一句话,说的话形式有两种,“XXX是罪犯”以 阅读全文
posted @ 2016-08-29 21:28 xjr01 阅读(415) 评论(0) 推荐(0)
摘要:[OpenJudge 3061]Flip The Card 试题描述 There are N× Ncards, which form an N× Nmatrix. The cards can be placed upwards or downwards. Now Acer is going to d 阅读全文
posted @ 2016-08-29 18:03 xjr01 阅读(395) 评论(0) 推荐(0)
摘要:[POJ1050]To the Max 试题描述 Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or g 阅读全文
posted @ 2016-08-28 14:19 xjr01 阅读(216) 评论(0) 推荐(0)
摘要:[codeforces 509]C. Sums of Digits 试题描述 Vasya had a strictly increasing sequence of positive integers a1, ..., an. Vasya used it to build a new sequenc 阅读全文
posted @ 2016-08-28 13:10 xjr01 阅读(356) 评论(0) 推荐(0)
摘要:[codeforces 516]A. Drazil and Factorial 试题描述 Drazil is playing a math game with Varda. Let's define for positive integer x as a product of factorials 阅读全文
posted @ 2016-08-28 13:03 xjr01 阅读(255) 评论(0) 推荐(0)
摘要:[codeforces 260]B. Ancient Prophesy 试题描述 A recently found Ancient Prophesy is believed to contain the exact Apocalypse date. The prophesy is a string 阅读全文
posted @ 2016-08-28 12:47 xjr01 阅读(271) 评论(0) 推荐(0)
摘要:[codeforces 241]C. Mirror Box 试题描述 Mirror Box is a name of a popular game in the Iranian National Amusement Park (INAP). There is a wooden box, 105 cm 阅读全文
posted @ 2016-08-28 12:43 xjr01 阅读(488) 评论(0) 推荐(0)
摘要:[codeforces 241]A. Old Peykan 试题描述 There are n cities in the country where the Old Peykan lives. These cities are located on a straight line, we'll de 阅读全文
posted @ 2016-08-28 12:32 xjr01 阅读(392) 评论(0) 推荐(0)
摘要:[POJ1007]DNA Sorting 试题描述 One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each o 阅读全文
posted @ 2016-08-27 21:10 xjr01 阅读(342) 评论(0) 推荐(0)
摘要:昨天忘记写了,因为急着去看 51nod 比赛,然而思考了许久还是一道都不会,好菜啊T_T。。。 补一下 Day 3 的情况。 Day 3 上午还是常规地做 vjudge 上的套题,硬着头皮啃英文,感觉我都要老眼昏花了。 第一题真是,又出博弈题,一到了这种题我就蒙了,根本不会思考,毕竟平时下棋打牌不多 阅读全文
posted @ 2016-08-27 20:48 xjr01 阅读(231) 评论(0) 推荐(0)
摘要:[codeforces 293]A. Weird Game 试题描述 Yaroslav, Andrey and Roman can play cubes for hours and hours. But the game is for three, so when Roman doesn't sho 阅读全文
posted @ 2016-08-27 16:16 xjr01 阅读(413) 评论(0) 推荐(0)
摘要:[codeforces 293]B. Distinct Paths 试题描述 You have a rectangular n × m-cell board. Some cells are already painted some of k colors. You need to paint eac 阅读全文
posted @ 2016-08-27 16:10 xjr01 阅读(284) 评论(0) 推荐(0)
摘要:[codeforces 235]A. LCM Challenge 试题描述 Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I 阅读全文
posted @ 2016-08-27 16:01 xjr01 阅读(420) 评论(0) 推荐(0)
摘要:[codeforces 325]B. Stadium and Games 试题描述 Daniel is organizing a football tournament. He has come up with the following tournament format: In the firs 阅读全文
posted @ 2016-08-27 15:56 xjr01 阅读(284) 评论(0) 推荐(0)
摘要:[POJ1062]昂贵的聘礼 试题描述 年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能 阅读全文
posted @ 2016-08-26 20:23 xjr01 阅读(285) 评论(0) 推荐(0)
摘要:[codeforces 528]B. Clique Problem 试题描述 The clique problem is one of the most well-known NP-complete problems. Under some simplification it can be form 阅读全文
posted @ 2016-08-26 15:43 xjr01 阅读(364) 评论(0) 推荐(0)
摘要:[codeforces 528]A. Glass Carving 试题描述 Leonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He alrea 阅读全文
posted @ 2016-08-26 15:37 xjr01 阅读(399) 评论(0) 推荐(0)
摘要:[codeforces 549]G. Happy Line 试题描述 Do you like summer? Residents of Berland do. They especially love eating ice cream in the hot summer. So this summe 阅读全文
posted @ 2016-08-26 15:24 xjr01 阅读(264) 评论(0) 推荐(0)
摘要:[POJ1003]Hangover 试题描述 How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card 阅读全文
posted @ 2016-08-26 08:12 xjr01 阅读(196) 评论(0) 推荐(0)
摘要:Day 2 7:26 2016/8/25 新的一天又开始了! 走在上学的路上,抬头看看北京少有的蓝天,太阳的威力不再那么明显,甚至输给了挡住它的云朵。迎面吹来了凉爽的风,夏天的燥热,早已无影无踪。 许多新初一的小同学也在这时穿着军装,一个个在家长的陪同下走进校门,临别时还不忘给爸爸妈妈一个拥抱。今天 阅读全文
posted @ 2016-08-25 21:46 xjr01 阅读(223) 评论(0) 推荐(0)