文件名称:comparestring
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:864byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
给定两个集合A、B,集合内的任一元素x满足1 ≤ x ≤ 109,并且每个集合的元素个数不大于105。我们希望求出A、B之间的关系。
任 务 :给定两个集合的描述,判断它们满足下列关系的哪一种:
A是B的一个真子集,输出“A is a proper subset of B”
B是A的一个真子集,输出“B is a proper subset of A”
A和B是同一个集合,输出“A equals B”
A和B的交集为空,输出“A and B are disjoint”
上述情况都不是,输出“I m confused!”
-Given two collections A, B, the collection of any one element x satisfy 1 ≤ x ≤ 109, and each collection is not more than 105 number of elements. We hope to find A, B relationship. Mission: to set the descr iption of the two collections to determine that they meet the following relations which: A is B, a true subset of the output " A is a proper subset of B" B is A, a true subset of the output " B is a proper subset of A " A and B are the same set, the output" A equals B " A and B of the intersection is empty, the output" A and B are disjoint " is not the situation, the output" I' m confused! "
任 务 :给定两个集合的描述,判断它们满足下列关系的哪一种:
A是B的一个真子集,输出“A is a proper subset of B”
B是A的一个真子集,输出“B is a proper subset of A”
A和B是同一个集合,输出“A equals B”
A和B的交集为空,输出“A and B are disjoint”
上述情况都不是,输出“I m confused!”
-Given two collections A, B, the collection of any one element x satisfy 1 ≤ x ≤ 109, and each collection is not more than 105 number of elements. We hope to find A, B relationship. Mission: to set the descr iption of the two collections to determine that they meet the following relations which: A is B, a true subset of the output " A is a proper subset of B" B is A, a true subset of the output " B is a proper subset of A " A and B are the same set, the output" A equals B " A and B of the intersection is empty, the output" A and B are disjoint " is not the situation, the output" I' m confused! "
(系统自动生成,下载前可以参看下载内容)
下载文件列表
comparestring.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.