摘要: 题目 1010 Radix (25分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal 阅读全文
posted @ 2021-01-24 16:54 tanknee 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 题目 1009 Product of Polynomials (25分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file c 阅读全文
posted @ 2021-01-24 14:24 tanknee 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 题目 1008 Elevator (20分) The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote a 阅读全文
posted @ 2021-01-24 13:58 tanknee 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 题目 1007 Maximum Subsequence Sum (25分) Given a sequence of K integers { N1, N2, ..., N**K }. A continuous subsequence is defined to be { N**i, N**i+1, 阅读全文
posted @ 2021-01-23 21:03 tanknee 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 题目与翻译 1006 Sign In and Sign Out 登录和退出 (25分) At the beginning of every day, the first person who signs in the computer room will unlock the door, and t 阅读全文
posted @ 2021-01-23 15:08 tanknee 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 题目与翻译 1005 Spell It Right 拼写正确 (20分) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of 阅读全文
posted @ 2021-01-23 13:17 tanknee 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 题目与翻译 1004 Counting Leaves 数树叶 (30分) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no 阅读全文
posted @ 2021-01-23 12:56 tanknee 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 题目与翻译 1003 Emergency 紧急情况 (25分) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scatt 阅读全文
posted @ 2021-01-21 11:03 tanknee 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Http与Https的区别 Http是明文传输的,Https协议是在Http协议上添加了SSL的加密协议,可以进行加密传输和身份验证。 其实就是说Http对网络传输完全是裸奔状态,也就没办法防范中间人攻击,因为根本没有加解密措施。不过Https相比Http也只是添加了SSL加密层,所以它仍然是一种特 阅读全文
posted @ 2021-01-15 21:44 tanknee 阅读(846) 评论(0) 推荐(1) 编辑
摘要: 图像合成 实现思路 通过背景建模的方法,对源图像中的动态人物前景进行分割,再将目标图像作为背景,进行合成操作,获得一个可用的合成影像。 实现步骤如下。 使用BackgroundSubtractorMOG2进行背景分割 BackgroundSubtractorMOG2是一个以高斯混合模型为基础的背景前 阅读全文
posted @ 2021-01-15 13:44 tanknee 阅读(2979) 评论(2) 推荐(0) 编辑