AFei has many cards.Each card has a number written on it. Now he wants to takessome out of his card and puts them in a box. And he wants to know whether the card with the number x was in the box.So he has the following two operations: 0 x 1 x
AFei has many cards. Each card has a number written on it. Now he wants to takes some out of his card and puts them in a box. And he wants to know whether the card with the number x was in the box. So he has the following two operations: 0 x (It means to put a card with the number x in the box.) 1 x (It means to query if there is a card with the number x in the box.)
(图片来源网络,侵删)