登录
首页 » Windows开发 » 判断一个序列(从1―N,N<=10)的出 栈序列是否合法,合法序列输出YES,非 法输出NO。 例如:N=3,输入序列:1 2 3 或1 3...

判断一个序列(从1―N,N<=10)的出 栈序列是否合法,合法序列输出YES,非 法输出NO。 例如:N=3,输入序列:1 2 3 或1 3...

于 2022-04-21 发布 文件大小:848.07 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

判断一个序列(从1―N,N

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一个逆波兰式的生成程序
    一个逆波兰式的生成程序-an inverse Polish generation procedures
    2022-03-26 07:13:23下载
    积分:1
  • talks source 06
    孙鑫vc++讲座源码06-09-talks source 06-09
    2023-07-28 04:00:03下载
    积分:1
  • This is a simple flow
    这是一个WINCE4.2下的简单流驱动,与硬件无关。弄了很久,才调试成功。主要是学习流驱动的实现过程及动态加载!包括EVC开发的流驱动,EVC的应用调用程序和WORD的说明文档-This is a simple flow-driven, under WINCE4.2, and hardware-independent. Get a long time before the successful commissioning. Mainly for studying flow-driven implementation process and dynamic load! Including the EVC developed flow-driven, EVC application calls the procedures and instructions WORD documents
    2023-01-24 23:50:04下载
    积分:1
  • matlab environment simplex method to achieve a simple small program
    matlab环境下简单实现单纯形法的小程序-matlab environment simplex method to achieve a simple small program
    2022-08-11 02:33:01下载
    积分:1
  • 这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上...
    这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上-This is a very good game! Mobile gaming enthusiasts hope can be like in 3100 on
    2023-04-05 18:20:03下载
    积分:1
  • UDP网络通信学习例子
    基于C++的UDP通信程序,  在同一个电脑上分别允许客户端和服务端程序可以实现UDP广播通信
    2022-08-03 03:50:06下载
    积分:1
  • c++控制台简易五子棋,增加鼠标支持
    - C++ 单个源文件... - 文件名: go2.cpp - 编译器名: TDM-GCC 4.8.1 32-bit Release - C++ 编译器: %BinDir0%g++.exe - 命令: g++.exe go2.cpp" -o "go2.exe" -ansi -m32 -I"%CppIncludeDir0%" -I"%CppIncludeDir1%" -L"%LibDir0%" -static-libgcc  -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 -m32 - 输出文件名: go2.exe - 输出大小: 1.30 MB - 编译时间: 2.06s
    2022-02-26 23:11:13下载
    积分:1
  • 使用WinMain来显示图形界面的例子。
    使用WinMain来显示图形界面的例子。-WinMain use graphical interface to show example.
    2022-08-05 13:15:55下载
    积分:1
  • facedetector
    人脸检测器 #include < iostream > #include < cv.h > #include < highgui.h > int main(void) { int 键 = 0 ; int i; CvMemStorage * 存储 = cvCreateMemStorage (0) ; CvCapture * 捕获 = cvCaptureFromCAM (0) ; char * 文件名 ="haarcascade_frontalface_alt.xml"; CvHaarClassifierCascade * 梯级 = (CvHaarClassifierCascade *) cvLoad (文件名, 0,0,0) ; 虽然 (关键! = "q") { IplImage * 帧 = cvQueryFrame (捕获) ; 如果 (! 帧) 断 ; CvSeq * 脸 = cvHaarDetectObjects ( 帧, 级联, 存储, 1.1、 3, 0 / * CV_HAAR_DO_CANNY_PRUNNING *, cvSize (40,40)) ; 为 (我 = 0 ; 我 < (脸? 面孔-> 共: 0) ; i + +) { CvRect * wajah = (CvRect *) cvGetSeqElem (的脸,我) ; CvFont 字体 ; cvInitFont (& 字体,CV_FONT_HERSHEY_SIMPLEX,1.0,1.0,1,5,CV_AA) ; CvRect * r=(CvRect*) cvGetSeqElem(faces, i) ; cvPutTex
    2022-01-30 19:16:21下载
    积分:1
  • 7. 编程序CompFile,首先让用户输入两个文件名及其路径(二文件均为text文件),而后通过使用类成员函数getline逐行读入这两个指定文件的内容并进行...
    7. 编程序CompFile,首先让用户输入两个文件名及其路径(二文件均为text文件),而后通过使用类成员函数getline逐行读入这两个指定文件的内容并进行比较。若发现有不同,则在屏幕上显示出相异二行的行号及其内容,并暂停下来询问用户是否需要继续比较后继行,直到用户回答不需要继续进行比较,或者已经比到了二文件的结束时停止处理。-7. Programmed CompFile, first of all allow users to enter two file names and their paths (two files are text files), then through the use of class member function getline reads line by line, the contents of the two specified file and compare. If it is found they were different, differences on the screen shows the line number 2 and its contents, and suspend the down and asks if they need to continue to compare follow-up line, until the user answers do not need to continue to compare, or is already higher than to the two documents stop processing at the end.
    2022-04-27 23:39:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载