文件名称:kk
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:574byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设要在足够多的会场里安排一批活动,并希望使用尽可能少的会场,请写一个程序计算出最小的会场个数。
[输入要求]
有多组测试数据,第一行有1 个正整数,表示有k 个待安排的活动。接下来的k 行中,每行有2 个正整数,分别表示k 个待安排的活动开始时间和结束时间。时间以0 点开始的分钟计,所有正整数都在100000以内
-Assumed to be a sufficient number of arrangements for a number of activities inside the venue, and hoped to use as little as possible of the venue, please write a program to calculate the minimum number of venues. [Input required] how test data set, the first line has a positive integer k expressed activities were to be arranged. The next k lines, each line has two positive integers k, respectively, the activities were to be arranged start time and end time. Time 0:00 minutes beginning, all the positive integers are less than 100,000
[输入要求]
有多组测试数据,第一行有1 个正整数,表示有k 个待安排的活动。接下来的k 行中,每行有2 个正整数,分别表示k 个待安排的活动开始时间和结束时间。时间以0 点开始的分钟计,所有正整数都在100000以内
-Assumed to be a sufficient number of arrangements for a number of activities inside the venue, and hoped to use as little as possible of the venue, please write a program to calculate the minimum number of venues. [Input required] how test data set, the first line has a positive integer k expressed activities were to be arranged. The next k lines, each line has two positive integers k, respectively, the activities were to be arranged start time and end time. Time 0:00 minutes beginning, all the positive integers are less than 100,000
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kk.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.