上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 输入一个数n,按照字典顺序从小到大打印出(1-n)的全排列。两个序列的字典序大小关系等价于从头开始第一个不相同位置处的大小关系。 Input 正整数n(1<=n<=7)。 Output 按照字典顺序从大到小打印全排列。每个样例之间有一个空格 Sample Input 1 2 3 4 Output 1 阅读全文
posted @ 2021-03-01 21:20 布拉多1024 阅读(178) 评论(0) 推荐(0)
摘要: A ring is composed of n (even number) circles as shown in diagram. Put natural numbers 1*,2,...,n* into each circle separately, and the sum of numbers 阅读全文
posted @ 2021-03-01 20:09 布拉多1024 阅读(61) 评论(0) 推荐(0)
摘要: A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits eac 阅读全文
posted @ 2021-02-18 19:16 布拉多1024 阅读(77) 评论(0) 推荐(0)
摘要: Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in t 阅读全文
posted @ 2021-02-17 18:02 布拉多1024 阅读(67) 评论(0) 推荐(0)
摘要: A Strange Tree (S-tree) over the variable set Xn = {x1*,x2,...,xn*} is a binary tree representing a Boolean function f : {0*,1}n → {0,*1}. Each path o 阅读全文
posted @ 2021-02-17 18:01 布拉多1024 阅读(96) 评论(0) 推荐(0)
摘要: You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a) if it is the empty string (b) if A and B 阅读全文
posted @ 2021-02-17 18:00 布拉多1024 阅读(57) 评论(0) 推荐(0)
摘要: 电子书资源:算法图解 书籍简介 本书示例丰富,图文并茂,以让人容易理解的方式阐释了算法,旨在帮助程序员在日常项目中更好地发挥算法的能量。书中的前三章将帮助你打下基础,带你学习二分查找、大O表示法、两种基本的数据结构以及递归等。余下的篇幅将主要介绍应用广泛的算法,具体内容包括:面对具体问题时的解决技巧 阅读全文
posted @ 2021-02-15 17:32 布拉多1024 阅读(948) 评论(0) 推荐(0)
摘要: In this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative integers. Given an old 阅读全文
posted @ 2021-02-15 17:31 布拉多1024 阅读(50) 评论(0) 推荐(0)
摘要: 电子书资源:大话数据结构 书籍简介 本书为超级畅销书《大话设计模式》作者程杰潜心三年推出的扛鼎之作!通篇以一种趣味方式来叙述,大量引用了各种各样的生活知识来类比,并充分运用图形语言来体现抽象内容,对数据结构所涉及到的一些经典算法做到逐行分析、多算法比较。与市场上的同类数据结构图书相比,本书内容趣味易 阅读全文
posted @ 2021-02-15 16:22 布拉多1024 阅读(627) 评论(0) 推荐(0)
摘要: 电子书资源:现代操作系统原书第3版 书籍简介 本书是操作系统领域的经典之作,与第2版相比,增加了关于Linux、Windows Vista和Symbian操作系统的详细介绍。书中集中讨论了操作系统的基本原理,包括进程、线程、存储管理、文件系统、输入/输出、死锁等,同时还包含了有关计算机安全、多媒体操 阅读全文
posted @ 2021-02-15 16:20 布拉多1024 阅读(196) 评论(0) 推荐(1)
摘要: The word “search engine” may not be strange to you. Generally speaking, a search engine searches the web pages available in the Internet, extracts and 阅读全文
posted @ 2021-02-15 16:14 布拉多1024 阅读(101) 评论(0) 推荐(0)
摘要: 电子书资源 算法 第四版 书籍简介 《算法(第4版)》是Sedgewick之巨著,与高德纳TAOCP一脉相承,是算法领域经典的参考书,涵盖所有程序员必须掌握的50种算法,全面介绍了关于算法和数据结构的必备知识,并特别针对排序、搜索、图处理和字符串处理进行了论述。第4版具体给出了每位程序员应知应会的5 阅读全文
posted @ 2021-02-15 10:11 布拉多1024 阅读(1155) 评论(0) 推荐(2)
摘要: In this problem, we consider a simple programming language that has only declarations of onedimensional integer arrays and assignment statements. The 阅读全文
posted @ 2021-02-14 17:00 布拉多1024 阅读(77) 评论(0) 推荐(0)
摘要: 电子书资源:C++ Primer Plus(第6版)中文版 书籍简介: C是在C语言基础上开发的一种集面向对象编程、通用编程和传统的过程化编程于一体的编程语言,是C语言的超集。《C Primer Plus(第6版)(中文版)》是根据2003年的ISO/ANSI C标准编写的。通过大量短小精悍的程序详 阅读全文
posted @ 2021-02-14 16:59 布拉多1024 阅读(6619) 评论(0) 推荐(1)
摘要: In order to understand early civilizations, archaeologists often study texts written in ancient languages. One such language, used in Egypt more than 阅读全文
posted @ 2021-02-13 17:58 布拉多1024 阅读(77) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页