2018年8月23日

摘要: Problem Description 垃圾佬有n副手套。 不幸的是,垃圾佬把它们都弄乱了。幸运的是,垃圾佬现在有一些关于手套的信息,他希望从中尽可能多地推测出正确的手套配对信息。 假设n只左手的手套,编号为1,2,3...,n,且n只右手的手套也依次为1,2,3,...,n。 从垃圾佬现在的信息中 阅读全文
posted @ 2018-08-23 10:07 Lis~ 阅读(324) 评论(0) 推荐(0)
 

2018年8月21日

摘要: 打扰了,自己写的几千字博客还有图片就要完工了,然后就蓝屏了,我也不想写了就贴几篇自己觉得写的好的博客吧 https://www.cnblogs.com/KonjakJuruo/p/5471008.html http://blog.sina.com.cn/s/blog_89a06c7d0100trcg 阅读全文
posted @ 2018-08-21 18:14 Lis~ 阅读(199) 评论(1) 推荐(0)
 

2018年8月19日

摘要: A - Muddy Fields POJ - 2226 Rain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 <= R <= 50, 1 <= C <= 50). While good for 阅读全文
posted @ 2018-08-19 16:42 Lis~ 阅读(141) 评论(0) 推荐(0)
 

2018年8月18日

摘要: D. Array Restoration time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Array Restoration 阅读全文
posted @ 2018-08-18 11:38 Lis~ 阅读(296) 评论(0) 推荐(0)
 

2018年8月16日

摘要: RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和l 阅读全文
posted @ 2018-08-16 20:39 Lis~ 阅读(181) 评论(0) 推荐(0)
 

2018年8月14日

摘要: Sequence Problem Description Let us define a sequence as below f1=A f2=B fn=C*fn-2+D*fn-1+[p/n] Your job is simple, for each task, you should output F 阅读全文
posted @ 2018-08-14 13:41 Lis~ 阅读(341) 评论(0) 推荐(0)
 

2018年8月12日

摘要: C. Elections As you know, majority of students and teachers of Summer Informatics School live in Berland for the most part of the year. Since corrupti 阅读全文
posted @ 2018-08-12 19:57 Lis~ 阅读(800) 评论(0) 推荐(0)
 

2018年8月10日

摘要: C. Insertion Sort Petya is a beginner programmer. He has already mastered the basics of the C++ language and moved on to learning algorithms. The firs 阅读全文
posted @ 2018-08-10 11:57 Lis~ 阅读(357) 评论(0) 推荐(0)
 

2018年8月3日

摘要: 链接:https://www.nowcoder.com/acm/contest/143/F来源:牛客网 题目描述 Kanade has n boxes , the i-th box has p[i] probability to have an diamond of d[i] size. At th 阅读全文
posted @ 2018-08-03 10:02 Lis~ 阅读(367) 评论(0) 推荐(0)
 

2018年8月1日

摘要: Problem E. Matrix from Arrays Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 474 Accepted Subm 阅读全文
posted @ 2018-08-01 23:56 Lis~ 阅读(196) 评论(0) 推荐(0)