猜数字游戏 可以设置玩家数量 直到一名玩家回答正确为止
Guessing game,it keeps going until one player gets the correct number (2017-11-29, Visual C++, 2KB, 下载1次)
最新页游平台管理系统(免费版)平台功能:
玩家注册、平台充值、游戏接入、新闻发布、帐号管理、玩家管理、 游戏管理、服务器管理、第三方接口管理、充值管理、游戏测试、客服管理、礼包管理、 官网自建系统、推广系统、平台设置等。
The latest tour page platform management system (free version) platform features:
Registered players, the platform recharge, game access, press releases, account management, player management, game management, server management, third-party interface management, voucher management, game testing, customer service management, management packs, the official website of self-built system, promotion system, platform settings. (2016-08-17, Visual C++, 26617KB, 下载8次)
17088 分治法求众数(必做)
时间限制:1000MS 内存限制:65535K
提交次数:0 通过次数:0
题型: 编程题 语言: G++ GCC VC JAVA
Description
给定含有n个元素的多重集合S,每个元素在S中出现的次数称为该元素的重数。多重集S中重数最大的元素称为
众数。例如,S={1,2,2,2,3,5}。多重集S的众数是2,其重数为3。
求众数方法很多,现要求你用分治算法来试一试,并分析其效率。
编程任务:对于给定的由n个自然数组成的多重集S,采用分治算法编程计算S的众数及其重数。
输入格式
第1行多重集S中元素个数n;接下来的一行为集合S,有n个自然数。( n < 100000 )
输出格式
结果输出:输出2个数,第1个数为众数,第2个为其重数。
当有多个同样重数的众数,优先输出数值更小的众数。
输入样例
6
1 2 2 2 3 5
输出样例
2 3
17088 divide and conquer method the modal number (will do)
Time limit: 1000MS Memory Limit: 65535K
Submit: 0 Passes: 0
Questions: Programming language title: G++ GCC VC JAVA
Description
Given n elements containing multiple set S, the number of each element appears in the S called the multiplicity of the element. Multiple sets the maximum number of S in heavy elements called
Plural. For example, S = {1,2,2,2,3,5}. Majority of multiple sets of S is 2, its weight is three.
Many seek the mode method, you are now required to use the divide and conquer algorithm to try and analyze their efficiency.
Programming tasks: for a given by n natural numbers consisting of multiple sets S, using all programmed to calculate the number of divide and conquer algorithm S and multiplicity.
Input format
The first line multi-set number of elements in S n an act the next set S, there is a natural number n. (N <100000)
Output Format
Results output: 2 number, the first number (2016-01-02, Visual C++, 263KB, 下载11次)
JAVA编写的乒乓球游戏很经典哦试一试吧
JAVA ?嘈 (2014-09-16, Visual C++, 3KB, 下载3次)
java编的猜数字代码。很好玩的类。下载玩了才知道
java code猜数字series. Class is a lot of fun. Download Play the know (2014-09-15, Visual C++, 2KB, 下载3次)
单击版的中国象棋,可供娱乐只用,也可供学习Java编程用
Click the version of Chinese chess, for entertainment only, but also for learning Java programming with (2014-06-30, Visual C++, 2KB, 下载1次)
单击版的中国象棋,可供娱乐只只用,也可供学习Java编程用
Click the version of Chinese chess, for entertainment only used only for learning the Java programming with (2014-06-30, Visual C++, 2KB, 下载1次)
一款用JAVA编写的手机炸弹人游戏,可以在闲暇时作为娱乐。
The preparation of a cell phone with JAVA Games bomb people, you can spare time for entertainment. (2014-06-29, Visual C++, 9KB, 下载1次)
某旅馆有n个等级的房间,第i等级有个房间,每个等级有个床位(1≤I≤n)。试模拟旅馆管理系统中床位分配和回收的功能,设计能为单个旅客分配床位,在其离店便回收床位(供下次分配)的算法。
N levels of the room in a hotel, the grade I have a room, each grade has a bed (1 ≤ I ≤ n). Test bed allocation and recovery simulation hotel management system function, design for a single passenger assignment of beds, will be recovered in its check-out bed (for the next allocation) algorithm. (2014-04-18, Visual C++, 3KB, 下载2次)
这是C++解题常用的模板,对参加C++机试有较大帮助
This is C++ solving common template, the participants have a greater help C++ machine test (2013-12-29, Visual C++, 44KB, 下载1次)
回到家卡我还想噶我低洼低洼才行啊是无法阿福王大学城哇夏娃
I want to go home card lying lying I got ah Karma is impossible Fu Wang University City wow Eve (2013-12-28, Visual C++, 159KB, 下载3次)
网页游戏南帝北丐的JAVA脚本控制程序,本人编写的,可以用,现在不玩游戏了
game asistant (2013-05-29, Visual C++, 72KB, 下载1次)
c语言编写的完整的贪食蛇程序,可以在自己本本上运行着玩~
c language complete Snake program that can run in their own books on play ~ (2012-05-26, Visual C++, 2KB, 下载6次)
Java源代码,自己制作的纯属娱乐飞过海 梵蒂冈豆腐干反对广泛的法国等国豆腐干豆腐干
Java source code to produce their own purely recreational flying over the sea against a wide range of France, the Vatican tofu tofu tofu and other countries (2011-03-10, Visual C++, 1KB, 下载1次)
到了福克斯的发生的复苏的了法律手段了福克斯的发
what are you doing (2011-01-08, Visual C++, 4KB, 下载1次)
178个经典事例,有意者自己下来玩.看看舒不舒服啊
178 classic examples, persons interested in playing down their own. See Shu uncomfortable ah (2006-07-25, Visual C++, 77KB, 下载73次)
华容道游戏,玩家可通过鼠标控制棋子移动。
Puzzle, gamers can control the mouse by moving a pawn. (2006-03-17, Visual C++, 4980KB, 下载33次)
本程序是主要是扫雷,他是C编写。 开发说明: class checkers_server 是服务端的核心,负责实际性的、最终的处理; class server_con 是服务端的网络部分,负责所有网络相关的处理,主要有玩 家的连接,数据的传送。 class server 是服务端的最终可执行部分,聚合了前两者。
this procedure is mainly mine, he is prepared C. Development : class checkers_server service side of the core, the actual responsibility, the ultimate treatment; Class server_con service side of the network, responsible for all network-related processing, a major player connectivity, and data transmission. Class server is the server part of the final executable, polymerization of the first two. (2005-05-02, Visual C++, 193KB, 下载7次)