摘要: #1388 : Periodic Signal 描述 Profess X is an expert in signal processing. He has a device which can send a particular 1 second signal repeatedly. The si 阅读全文
posted @ 2017-07-01 20:24 meekyan 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Triple Sums You're given a sequence s of N distinct integers.Consider all the possible sums of three integers from the sequence at three different ind 阅读全文
posted @ 2017-07-01 17:36 meekyan 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 题目链接:点这里 题意: 给你一个矩阵R*C,n个点,与给的的n个点同一列同一行,同一条主对角线上的点都被染黑 问你最后有多少个点没有被染黑 题解: 把每一列每一行没有被染黑的x,y找出来,其任意组合起来是没这种情况下的答案(同一条主对角线上的点都被染黑) 对于 x - y,我们可以拿来判断两个点是 阅读全文
posted @ 2017-07-01 15:49 meekyan 阅读(194) 评论(0) 推荐(0) 编辑
摘要: A * B Problem Plus Problem Description Calculate A * B. Input Each line will contain two integers A and B. Process to end of file.Note: the length of 阅读全文
posted @ 2017-07-01 11:37 meekyan 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 3-idiots Problem Description King OMeGa catched three men who had been streaking in the street. Looking as idiots though, the three men insisted that 阅读全文
posted @ 2017-07-01 10:52 meekyan 阅读(166) 评论(0) 推荐(0) 编辑