文件名称:asd
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
有一个黑箱子,里面会按升序存储整数,你可以对黑箱子下达下面的指令:
a. ADD n 将n加入黑箱子
b. Get 获得一个数,这个数在黑箱子里的序号(从0开始计数)是Get的出现次数。
黑箱子中最初存了一个数0,现给你一个操作序列,要你输出Get命令时获的那个数。
-There is a black box, which will store the integers in ascending order, you can order black box issued the following: a. ADD n to n by adding a black box b. Get access number, the serial number of houses in the black box (from start counting with 0) is the number of occurrences Get. Initially stored in the black box, a number 0, is to give you a sequence of operations, to you Get out of that number by the command.
a. ADD n 将n加入黑箱子
b. Get 获得一个数,这个数在黑箱子里的序号(从0开始计数)是Get的出现次数。
黑箱子中最初存了一个数0,现给你一个操作序列,要你输出Get命令时获的那个数。
-There is a black box, which will store the integers in ascending order, you can order black box issued the following: a. ADD n to n by adding a black box b. Get access number, the serial number of houses in the black box (from start counting with 0) is the number of occurrences Get. Initially stored in the black box, a number 0, is to give you a sequence of operations, to you Get out of that number by the command.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
asd.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.