上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 49 下一页
摘要: About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor 阅读全文
posted @ 2018-01-27 14:55 A-Little-Nut 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a min 阅读全文
posted @ 2018-01-27 14:36 A-Little-Nut 阅读(141) 评论(0) 推荐(0) 编辑
摘要: If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123 105 with 阅读全文
posted @ 2018-01-27 11:43 A-Little-Nut 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 p2^k2 … pm^km. Input Specifica 阅读全文
posted @ 2018-01-27 11:38 A-Little-Nut 阅读(136) 评论(0) 推荐(0) 编辑
摘要: If you are a fan of Harry Potter, you would know the world of magic has its own currency system as Hagrid explained it to Harry, "Seventeen silver Sic 阅读全文
posted @ 2018-01-27 09:07 A-Little-Nut 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 一. 什么是树状数组? 树状数组(Binary Indexed Tree(B.I.T), Fenwick Tree)是一个查询和修改复杂度都为log(n)的数据结构。主要用于查询任意两位之间的所有元素之和,但是每次只能修改一个元素的值;经过简单修改可以在log(n)的复杂度下进行范围修改,但是这时只 阅读全文
posted @ 2018-01-25 13:05 A-Little-Nut 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations include Push ( 阅读全文
posted @ 2018-01-24 15:31 A-Little-Nut 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given 阅读全文
posted @ 2018-01-24 10:48 A-Little-Nut 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest people. Now you are supposed to si 阅读全文
posted @ 2018-01-23 17:14 A-Little-Nut 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color 阅读全文
posted @ 2018-01-23 15:39 A-Little-Nut 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 49 下一页