登录
首页 » Java » Cjingdiansuanfa100li

Cjingdiansuanfa100li

于 2010-12-21 发布 文件大小:7KB
0 71
下载积分: 1 下载次数: 2

代码说明:

  学习c语言经典的经典算法100例,为你学好c语言打下坚实基础!!!(C language learning classical classical algorithm 100 cases, as you lay a solid foundation to learn c language! ! !)

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

发表评论

0 个回复

  • leveragingwebservices
    leveraging web services-planning, building, and integrationformaximumimpact(leveraging web services-planning, building, and integrationformaximumimpact)
    2008-01-05 00:02:10下载
    积分:1
  • q1
    说明:  Pokeface 题目描述 魔术师将一叠扑克顺次在桌上排成一行,初始全部正面朝上。随后,他每次挥一挥衣袖,都会翻转一连串的扑克,改变它们的正反朝向。从古代传下来的规矩,魔术师皆有师傅,他们要随时准备回答师傅的问题。问题形如:目前从第i张扑克牌到第j张扑克牌中,有几张正面朝上? 作为魔术师的助手,你被要求学习程序设计、算法与数据结构。现在,魔术师把这个问题交给了你,你需要编写一个程序,维护相应的数据结构来保存桌子上牌面的情况,同时对于师傅的每一个问题,你要用尽量快的速度计算出答案。 输入 第一行包含三个正整数n、p和q。n表示扑克牌的数量,p表示魔术师的挥一挥次数,q表示师傅的问话次数。 接下来共p+q行,每行包含一个操作,操作分为2种: H i j 魔术师挥一挥,改变了第i张牌到第j张牌的正反 Q i j 师傅问话:截至目前,第i张到第j张牌中有多少张正面朝上 操作中恰好包含p次H操作,q次Q操作,与第一行的p和q吻合。H操作和Q操作的范围均包含边界(即第i张和第j张牌)。 对于每个操作,输入保证1 ≤ i ≤ j ≤ n。 输出 对于每次Q操作,输出一行,包含一个整数,表示问题的答案。 提示:线段树(Pokeface Title Description The magician will stack poker table sequentially in a row, all the initial face-up. He then every wisp will flip a series of poker pros and cons of changing their orientation. The rules handed down ancient times, the master magician Jie, they be ready to answer the teacher s questions. Question of the form: Currently playing cards i to j-card poker, there are a few face-up? As a magician s assistant, you are required to learn programming, algorithms and data structures. Now, the magician put this question to you, you need to write a program to maintain appropriate data structure to hold the cards on the table face the situation, while the master for each question, and you want to use as quickly calculate the answer. Enter The first line contains three positive integers n, p and q. n represents the number of poker, p represents the wave of the magic number, q represents the number of master s questioning. Next, a total of p+ q rows, each containi)
    2015-01-18 15:02:14下载
    积分:1
  • 435527
    GUI版S扫描器源码,程序结合易语言扩展界面支持库,调用API函数根据IP段和端口扫描开放的端口。可以整理保存扫描到的IP地址。(GUI version of the scanner source S , the program combined with easy language support library expansion interface , API function calls based on open IP segment and port scans ports. )
    2015-12-09 22:11:38下载
    积分:1
  • 网上商城系统,实现了通过。通过修改少量的化学需氧量…
    网上商城系统,通过ASP实现。通过修改少量代码即可以运行,商家绝密版!一定要下载哦-Online Mall system, achieved through the ASP. By modifying a small amount of code that can run, businesses, top-secret version! Oh, must be downloaded
    2022-03-21 08:30:40下载
    积分:1
  • 套接字实现TCP协议和试验数据通信使用…
    利用套接字实现用TCP协议的数据通信并进行了测试通过-The use of sockets to achieve data communication with the TCP protocol and tested through
    2023-01-27 17:10:04下载
    积分:1
  • MathContext
    Immutable objects describing settings such as rounding mode and digit.
    2014-01-22 14:19:05下载
    积分:1
  • Worldwind air can download the image, using the thread pool, HTTP communications...
    能够下载worldwind的航空影像,利用线程池、HTTP通讯等技术-Worldwind air can download the image, using the thread pool, HTTP communications technology
    2023-08-19 19:45:04下载
    积分:1
  • 13.如何采用VC实现查询HTTP站点? 该实例采用的是163网站.单机又键即可显示...
    13.如何采用VC实现查询HTTP站点? 该实例采用的是163网站.单机又键即可显示-13. How uses the VC realization to inquire the HTTP stand? This example uses is 163 websites The single plane key then demonstrated
    2022-01-25 23:30:06下载
    积分:1
  • birth
    数据库编程,生日管理系统,有增加、删除、修改、更新的功能,在VC6.0上可以运行,使用MFC编程!(Database programming, birthdays management system)
    2014-04-08 00:33:15下载
    积分:1
  • Demo
    显示RichEdit控件,VC++精选编程学习源码,很好的参考资料。(Display the RichEdit control, VC++ select learning programming source code, a good reference.)
    2013-12-01 18:04:19下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载