上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 66 下一页
摘要: E. Thief in a Shop A thief made his way to a shop. As usual he has his lucky knapsack with him. The knapsack can contain k objects. There are n kinds 阅读全文
posted @ 2017-07-02 15:24 meekyan 阅读(255) 评论(0) 推荐(0) 编辑
摘要: #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) 编辑
摘要: 时间限制:20000ms 单点时限:1000ms 内存限制:256MB 描述 在写代码时,我们经常要用到类似 x × a 这样的语句( a 是常数)。众所周知,计算机进行乘法运算是非常慢的,所以我们需要用一些加法、减法和左移的组合来实现乘一个常数这个操作。具体来讲, 我们要把 x × a 替换成:( 阅读全文
posted @ 2017-06-27 12:13 meekyan 阅读(278) 评论(0) 推荐(0) 编辑
摘要: E. Okabe and El Psy Kongroo Okabe likes to take walks but knows that spies from the Organization could be anywhere; that's why he wants to know how ma 阅读全文
posted @ 2017-06-26 10:06 meekyan 阅读(424) 评论(0) 推荐(0) 编辑
摘要: F. Group Projects F. Group Projects There are n students in a class working on group projects. The students will divide into groups (some students may 阅读全文
posted @ 2017-06-25 11:48 meekyan 阅读(245) 评论(0) 推荐(0) 编辑
摘要: FFT是用来快速求卷积的..... 那么卷积有什么作用呢 https://www.zhihu.com/question/22298352 看完就懂了 阅读全文
posted @ 2017-06-25 10:14 meekyan 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 66 下一页