xehoth / xehoth-blog-comment

0 stars 0 forks source link

「SuperOJ 773」集合的运算 | xehoth #186

Open xehoth opened 7 years ago

xehoth commented 7 years ago

https://blog.xehoth.cc/SuperOJ773-Set/

题目描述在计算机科学应用中,我们经常要用到集合的运算,集合的运算操作有很多,下面是我们给出的集合基本运算定义: (1)“∪”运算:设 S,T 是 2 个集合,那么 S∪T 是由 S 和 T 的元素组成的集合。 (2)“-”运算:设 S,T 是 2 个集合,那么 S-T 是由 S 中非 T 中的元素组成的集合。 (3)“∩”运算:设 S,T 是 2 个集合,那么 S∩T 是由既是 S 又是 T 的元