文件名称:comparestring
介绍说明--下载内容均来自于网络,请自行研究使用
给定两个集合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