{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"MD","content":"给定两个集合 A和B,需要你输出 集合A-B。\n如果A-B为空集,则输出NULL。\n \n集合A-集合B:集合A删去与集合B相同的元素。"}},{"title":"Input","value":{"format":"MD","content":"每组输入数据占 1 行,每行数据的开始是 2 个整数 n (0\u0026lt;\u003dn\u0026lt;\u003d100)和 m (0\u0026lt;\u003dm\u0026lt;\u003d100),分别表示集合A和集合B的元素个数。之后紧跟着 n+m 个元素,前面 n 个元素属于集合A,其余的属于集合B.。\n每个元素为不超出 int 范围的整数,元素之间有一个空格隔开。\n\n如果n\u003d0并且m\u003d0,表示输入的结束,不做处理。"}},{"title":"Output","value":{"format":"MD","content":"针对每组数据输出一行数据,表示 A-B 的结果,如果结果为空集合,则输出“NULL”。\n否则从小到大输出结果,每个元素后面跟一个空格。 "}},{"title":"Sample Input","value":{"format":"MD","content":"\u003cpre\u003e3 3 1 2 3 1 4 7\n3 7 2 5 8 2 3 4 5 6 7 8 \n0 0\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"MD","content":"\u003cpre\u003e2 3 \nNULL\u003c/pre\u003e"}}]}