登录
首页 » Visual C++ » Triangle

Triangle

于 2008-07-15 发布 文件大小:10KB
0 325
下载积分: 1 下载次数: 5

代码说明:

  求解符号三角形问题.给定一行符号(比如+和-),按照同号为+异号为-的原则计算第二行直至下面的行,最后的一行只有一个符号,要求统计各个符号的个数.(Problem solving triangle symbols. Given his symbols (such as+ And-), in accordance with the same number is+ Different number- the principle of calculation of the second line until the following line, the last line there is only one symbol, all symbols requested statistics number.)

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

发表评论

0 个回复

  • Desktop
    调度问题的回溯算法,算法中的经典问题。问题描述:假设有n个任务由k个可并行工作的机器完成。完成任务i需要的时间为ti。试设计一个算法找出完成这n个任务的最佳调度,使得完成全部任务的时间最早。(Scheduling problem backtracking algorithm is the classic problem. Problem Description: Suppose there are n-task by the k-parallel machine can be completed. The time required to complete the task i is ti. Try to design an algorithm to find completing these n-best task scheduling, making the earliest time to complete all tasks.)
    2010-02-19 23:31:11下载
    积分:1
  • CNC-chabu
    实现两坐标运动控制,相当完美,看了这个代码,你也可以开发数控系统了(CNC CONTROL)
    2021-02-14 10:39:49下载
    积分:1
  • guiji
    惯导系统轨迹生成器,能生成不同位置转动和舰船摇摆条件下的陀螺和加速度计数据,用于研究惯导系统(INS trajectory generator can generate different locations and ships swing conditions rotating gyroscope and accelerometer data, inertial navigation systems for research)
    2013-08-29 09:49:03下载
    积分:1
  • distance_between_two_lines
    对于给定的两个线段,程序输出这两个线段之间的距离(For a given two line segments, the program output that the distance between two line segments)
    2009-03-25 16:04:31下载
    积分:1
  • tongxinlu
    通信录源程序。调试环境为TC2.0或者3.0。运行这个程序需要tc提供的几个头文件。(Example source address book, or 3.0 debugging environment for TC2.0. Tc run the program needs to provide several header files. )
    2011-12-05 15:03:16下载
    积分:1
  • medo
    设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。  编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中(Let X [0: n- 1] and Y [0: n- 1] for the two arrays, each array containing the n number has been sorted. 2n X and Y to identify the number of digits.  programming tasks using the divide and conquer strategy try to design an O (log n) time algorithm to calculate this median number 2n. Data input by the input data provided input.txt file. The first line in the file has a positive integer n (n < = 200), that there are n numbers of each array. The next two lines are the X, Y array elements. The end result is output program runs, the calculated median output to file output.txt)
    2021-03-22 16:29:16下载
    积分:1
  • Camera_EXG50_GigE
    Initialise and acquisition of Camera EXG50 GigE
    2011-12-20 17:32:53下载
    积分:1
  • Queue
    队列的顺序定义,队列的调用算法等,队列的模板类及其实现(Defined in the order queue, queue calls algorithm, queue template class and its implementation)
    2013-07-17 15:42:54下载
    积分:1
  • 9_2
    VC中容器和游标的使用,一个简单的例子。。(VC cursor in the containers and the use of a simple example. .)
    2009-05-31 23:35:52下载
    积分:1
  • CheckManage
    考勤管理系统可以有效地管理企事业单位员工的出勤情况,规范人事制度管理,保证企事业单位的正常动作,是人力资产管理的重要组成部分。本系统的开发主要包括后台数据库的建立、维护以及前端应用程序的开发两个方面。本系统采用目前比较流行的ADO数据访问技术,并将每个数据库表的字段和操作封装到类中,使应用程序的各个窗体都能够共享对表的操作,无需重复编码,使程序更加易于维护,从而成功地将面向对象的程序设计思想应用到数据库应用程序设计中。这也是本系统的特色和优势。 第1步:还原数据库 按照前面的步骤,还原“考勤管理系统”的数据库为“CheckManage”。 第2步:打开项目并运行 ➊ 在Visual C++ 6.0中,打开“考勤管理系统”项目文件。 ➋ 编译、连接、运行,在“登录对话框”中输入用户名“Admin”,密码“111111”,单击【确定】按钮。(CheckManage System very good)
    2012-08-21 19:33:04下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载