文件名称:room
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
一个旅店总共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