虫虫首页|资源下载|资源专辑|精品软件
登录|注册

Definition

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    标签: government streamline important alphabet

    上传时间: 2015-06-08

    上传用户:weixiao99

  • 一篇05年9月IEEE上发表的论文

    一篇05年9月IEEE上发表的论文,题目是Definition of Efficient PAPR in OFDM.pdf

    标签: IEEE 论文

    上传时间: 2014-01-25

    上传用户:zhyiroy

  • 平均因子分解法

    平均因子分解法,适用于正定矩阵First, let s recall the Definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X=U U, where U is the square root matrix of X, and satisfies: (1) U U = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is "positive definite" which guarantees the existence of such kind of decomposition.

    标签: 分解

    上传时间: 2013-12-24

    上传用户:啊飒飒大师的

  • Problem Statement You are given a string input. You are to find the longest substring of input su

    Problem Statement You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input. Definition Class: ReverseSubstring Method: findReversed Parameters: string Returns: string Method signature: string findReversed(string input) (be sure your method is public) Notes The substring and its reversal may overlap partially or completely. The entire original string is itself a valid substring (see example 4). Constraints input will contain between 1 and 50 characters, inclusive. Each character of input will be an uppercase letter ( A - Z ). Examples 0) "XBCDEFYWFEDCBZ" Returns: "BCDEF" We see that the reverse of BCDEF is FEDCB, which appears later in the string. 1)

    标签: input Statement You are

    上传时间: 2015-09-20

    上传用户:sunjet

  • CHAPT12Chapt12.cpp Part of the 32-bit test progrma for the Win32Port class. CHAPT12Chapt12.dsp The

    CHAPT12\Chapt12.cpp Part of the 32-bit test progrma for the Win32Port class. CHAPT12\Chapt12.dsp The Visual C++ project file for the program. CHAPT12\Chapt12.dsw The Visual C++ workspace file for the program. CHAPT12\Chapt12.h The header file for the app s application class CHAPT12\Chapt12.ico The icon used in Chapt12.exe CHAPT12\Chapt12.rc The resource file use in the test program. CHAPT12\Chapt12Dlg.cpp The implementation of the dialog class CHAPT12\Chapt12Dlg.h The declarations of the dialog class CHAPT12\MyWin32Port.h Definition for a class derived from Win32Port. CHAPT12\resource.h The resource IDs

    标签: CHAPT Chapt 12 the

    上传时间: 2013-12-16

    上传用户:yan2267246

  • CHAPT13AnsiWinTerm.cpp Class used in Win32 terminal emulation CHAPT13AnsiWinTerm.h Header file for

    CHAPT13\AnsiWinTerm.cpp Class used in Win32 terminal emulation CHAPT13\AnsiWinTerm.h Header file for the AnsiWinTerm class CHAPT13\Chapt13.cpp 32-bit test program of terminal emulation CHAPT13\Chapt13.dsp Visual C++ project file CHAPT13\Chapt13.dsw Visual C++ workspace file CHAPT13\Chapt13.rc The resource file used in the test program CHAPT13\resource.h IDs defined in the resource file CHAPT13\Win32Term.cpp The Win32 general purpose terminal class CHAPT13\Win32Term.h Definition of the class CHAPT13\Debug\Chapt13.exe 32-bit executable of the test program.

    标签: AnsiWinTerm CHAPT emulation terminal

    上传时间: 2016-02-02

    上传用户:秦莞尔w

  • Session 1: common and useful built-in Mathematica functions variable assignment and function definit

    Session 1: common and useful built-in Mathematica functions variable assignment and function Definition the Front End and the Kernel Notebooks. Session 2: organisation of data in Mathematica lists and expressions simple programming functions nesting. Session 3: the opportunity to develop your proficiency as a Mathematica user through work on an extended problem Case Studies Mathematica resources on the Internet.

    标签: Mathematica assignment and functions

    上传时间: 2013-12-26

    上传用户:362279997

  • C++名家精华.chm 我们用早期的C++语言编程。工作的第二天中午

    C++名家精华.chm 我们用早期的C++语言编程。工作的第二天中午,厌烦了读职工手册,于是我写了一个工具类,里面包含一个原始指针作为成员变量: #include "xStruct.h" // Definition of struct X class xWrapper { X* xItem public: xWrapper() : xItem(new X) { } ~xWrapper() { delete xItem } void dump() { /* dumps xItem to cout */ } } 当然了,使用这个类的程序由于内存问题总是时不时的崩溃,因为我违反三个重要设计原则之一:任何时候,只要你提供了析构函数、拷贝构造函数或赋值运算符中的一个,你通常需要三个都提供。([1]) “所以,”我自言自语道,“我必须自己处理拷贝和赋值问题。简单地...auto_ptr有拷贝构造函数和赋值运算符,我可以拿过来用一下。”(你知道早期C++程序库中的auto_ptr,是吗?)

    标签: chm 语言编程

    上传时间: 2013-12-28

    上传用户:Amygdala

  • Of the password is: Server: "1." Client: + for the month of the date of the machine. Such as

    Of the password is: Server: "1." Client: + for the month of the date of the machine. Such as "2005/08/05", compared with the number "85" Database: "xzxq". I made the changes: 1, stations and customer-service once every 30 seconds to exchange information (to ensure continuous line) 2, computer services-an increase of the serial number 3, client-service to send the card serial number and send IP addresses to the service side 4, the desktop client by the embargo, since the Definition of the icon to start the process faster (from the window Superman Code) 5, CS-shielding some function keys, but CTRL + ALT + DEL keys can not shield the hope that a revised modify these friends 6, there are some corners of Laws (such as title, etc.). Client desktop icon in the Settings page set up first class to enter FXZWN999 open on to add, delete icon button

    标签: the password machine Client

    上传时间: 2016-06-26

    上传用户:xsnjzljj

  • MS2 程序分析 Lldwsw 一:下载MS2.RAR 压缩包解压缩后可以看到如下界面: 第一项为MS2 软件包

    MS2 程序分析 Lldwsw 一:下载MS2.RAR 压缩包解压缩后可以看到如下界面: 第一项为MS2 软件包,第二项为SourceInsight3.0,它是一款非常优秀的C 语言编辑器,目 前各个大公司,比如华为等都用它,手机行业几乎无一例外。它的作用是代替Keil 的编辑 环境,因为Keil 的编辑环境太难看了,并且使用也不方便,用它来看程序,查找函数特别 容易,以下是它的界面: 各位可以看到,它里面不同的关键字的颜色都是不同的,看上去很舒服,最主要的还是它的 查找功能,比如要看MSTimerStart 的函数原型,但不知道他在那个地方,双击函数名,右 击后出现属性,点“Jump to Definition”,就可以看到函数原型,这个功能Keil 下也有,还 有一个Keil 下没有的,就是这个函数被谁调用了,双击函数名,右击后出现属性,点“Jump to Caller”。 具体请参考SourceInsight 使用说明,也就是第四项,第三项是周立功的DP-51 电路图,因为 MS2 的设计本身是不倚赖外设的,所以没有加外部接口,直接用串口来演示,如下图: 大家可以看到liweifeng, test1,test2,test3 在不停的打印,这是四个伪任务,按一定的时 候间隔打印,我们将在后面分析。当然按键等都可以在处理字符串栏中输入,在接收窗口显 示。 以

    标签: MS2 Lldwsw MS

    上传时间: 2013-12-15

    上传用户:lingzhichao