文件名称:room
-
所属分类:
- 标签属性:
- 上传时间:2014-11-08
-
文件大小:1.18kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个旅店总共m间房间,先按顺序给定旅客到来和离开的顺序,当有人来时,已经注满,则这人不能入住,输出一共有多少人不能入住
输入:m(表房间数)
SFADSF(字母表示旅客)
输出:未能入住的人数
样例:
输入:3
GACCBDDBAGEE
输出:1
-A total of m a hotel room, press the order given sequence passenger arrival and departure, when someone comes, has been filled, then this person can not stay, the output of the total number of people can not stay
Input: m (Table Room)
SFADSF (letters passengers)
Output: The number could not be admitted in
Sample:
Input: 3
GACCBDDBAGEE
Output:
1
输入:m(表房间数)
SFADSF(字母表示旅客)
输出:未能入住的人数
样例:
输入:3
GACCBDDBAGEE
输出:1
-A total of m a hotel room, press the order given sequence passenger arrival and departure, when someone comes, has been filled, then this person can not stay, the output of the total number of people can not stay
Input: m (Table Room)
SFADSF (letters passengers)
Output: The number could not be admitted in
Sample:
Input: 3
GACCBDDBAGEE
Output:
1
(系统自动生成,下载前可以参看下载内容)
下载文件列表
._room.cpp
room.cpp
room.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.