(ThebeginningofawinterbreaknearSpringFestivalisalwaysthebeginningofapeakperiodoftransportation.Ifyouhaveevertriedtogenotatrainticketatthattime.youmusthavewitnessedtheendlessqueuesinfrontofeveryticketboxwindow.Ifaguyhasseenhisfriendinaqueue,thenitisverymuchlikelythatthisluckyguymightgostraighttohisfriendandaskforafavor.Thisiscalled"jumpingthequeue."Itisunfairtotherestofthepeopleintheline,but,itislife.Yourtaskistowriteaprogramthatsimulatessuchaqueuewithpeoplejumpingineverynowandthen,assumethat,ifoneinthequeuehasseveralfriendsaskingazrfavors.hewouldarrangetheirrequestsinaqueueofhisown) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual C++ » jumping_the_queue

jumping_the_queue

于 2006-11-04 发布 文件大小:3KB
0 115
下载积分: 1 下载次数: 6

代码说明:

  The beginning of a winter break near Spring Festival is always the beginning of a peak period of transportation. If you have ever tried to get a train ticket at that time, you must have witnessed the endless queues in front of every ticket box window. If a guy has seen his friend in a queue, then it is very much likely that this lucky guy might go straight to his friend and ask for a favor. This is called "jumping the queue". It is unfair to the rest of the people in the line, but, it is life. Your task is to write a program that simulates such a queue with people jumping in every now and then, assume that, if one in the queue has several friends asking for favors, he would arrange their requests in a queue of his own(The beginning of a winter break near Spring Festival is always the beginning of a peak perio d of transportation. If you have ever tried to ge not a train ticket at that time. you must have witnessed the endless queues in fr ont of every ticket box window. If a guy has seen h is friend in a queue, then it is very much likely that this lucky guy mi ght go straight to his friend and ask for a favor. This is called "jumping the queue." It is unfair to the rest of the people in the line, but, it is life. Your task is to write a program that si mulates such a queue with people jumping in ever y now and then, assume that, if one in the queue has several friends asking az r favors. he would arrange their requests in a queue of his own)

文件列表:

jumping_the_queue.c

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

发表评论

0 个回复

  • FootBall
    A simple football, league data sorter! For FUN D!
    2010-01-02 18:51:50下载
    积分:1
  • pintupic
    拼图游戏的一个visual c源代码,很值得看一下,测试成功(pintu)
    2009-12-25 13:54:41下载
    积分:1
  • AET_Fill
    计算机图形学 图形填充算法 有序边表算法 通用性强 新边表建立有新意(Computer graphics graphics to fill algorithm ordered edge list algorithm versatility of the new side table to establish innovative)
    2012-03-20 22:33:36下载
    积分:1
  • 穿目前所有还原下载者 C 源码
    说明:  [C/C++] 穿目前所有还原的下载者 C++源码 下载者包括四个工程: CDown:生成器 userinit:真正的下载者 Dat:驱动和下载者的安装程序 pass:驱动程序 原理:驱动程序可以穿透还原卡,并且可以修改系统文件,这里是通过修改系统文件userinit.exe来实现的。userinit.exe的功能很简单,就是启动explorer.exe。这里就是通过替换uerinit.exe,伪造一个userinit.exe。这个伪造的程序可以实现uerinit.exe的原始功能,并可以实现自定义的功能,比如下载执行,发送数据。 驱动的功能就是替换指定的系统文件。 将userinit Dat pass 编译出来的文件放到cdown的res里,再生成出生成器就可以使用它生成下载者,也就是这个穿还原的程序([C/C++] wear all current restore downloader C++ source code The download includes four projects: CDown: generator Userinit: a true Downloader Dat: driver and downloader installer Pass: Driver Principle: driver can penetrate the restore card, and you can modify the system file, here is through the modification of system file userinit.exe to achieve. The function of userinit.exe is simple, that is, to start explorer.exe. This is where you forge a userinit.exe by replacing uerinit.exe. This fake program can realize the original function of uerinit.exe, and can implement custom functions, such as downloading, executing and sending data. The driver's function is to replace the specified system files. The userinit Dat pass compiled files into the Cdown res, regeneration into the generator, you can use it to generate the download, that is, the process of wearing a restore)
    2021-03-21 03:59:17下载
    积分:1
  • passp
    完美实现本地过TP保护驱动,从而实现CE及OD附加,做辅助必要的好帮手。。(TP PASS)
    2012-03-03 21:45:38下载
    积分:1
  • sanweibianhuan
    说明:  用vc++做的三维图像变换的程序,希望对大家有用………………(Using vc++ to do three-dimensional image transformation procedures in the hope for all of us ... ... ... ... ... ...)
    2009-09-01 22:34:15下载
    积分:1
  • WindowMedia
    Windows Media 编程导向 作者 陆其明(Windows Media-oriented programming author Lu Qiming)
    2006-07-15 17:50:17下载
    积分:1
  • MTGCCombobox
    Combo box control with autocomplete
    2013-11-16 18:08:40下载
    积分:1
  • iCordSource2
    这是一个屏幕录制源代码,可以很清楚地录制计算机屏幕,用VC++编写的(This is a screen recording source code, can clearly record the computer screen, written in VC++.)
    2020-06-16 10:40:01下载
    积分:1
  • APC220
    解释了APC的工作原理,对无线模块初学者很有帮助!!(Explain the APC works, helpful beginners wireless module! !)
    2012-10-15 14:13:08下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载