{"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":"HTML","content":"\u003cdiv class\u003d\"panel_content\"\u003e\n\u003cp\u003e注意每个 Case 之间有个换行!\u003c/p\u003e \n\u003cp\u003eYou are \u003cb\u003enot\u003c/b\u003e given \u003ci\u003en\u003c/i\u003e non-negative integers \u003ci\u003eX\u003csub\u003e0\u003c/sub\u003e, X\u003csub\u003e1\u003c/sub\u003e, ..., X\u003csub\u003en-1\u003c/sub\u003e\u003c/i\u003e less than 2\u003csup\u003e20\u003c/sup\u003e , but they do exist, and their values never change.\u003cbr\u003e\u003cbr\u003eI\u0027ll gradually provide you some facts about them, and ask you some questions.\u003cbr\u003e\u003cbr\u003eThere are two kinds of facts, plus one kind of question:\u003cbr\u003e\u003cbr\u003e\n \u003ccenter\u003e\n \u003cimg style\u003d\"max-width:100%;\" src\u003d\"CDN_BASE_URL/8b9f8d48d096878d39be2e0a8a8c2d86?v\u003d1668879038\"\u003e\n \u003c/center\u003e\n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003eThere will be at most 10 test cases. \u003cbr\u003e\n\u003cp\u003eEach case begins with two integers \u003ci\u003en\u003c/i\u003e and \u003ci\u003eQ\u003c/i\u003e (1 \u0026lt;\u003d \u003ci\u003en\u003c/i\u003e \u0026lt;\u003d 20,000, 2 \u0026lt;\u003d \u003ci\u003eQ\u003c/i\u003e \u0026lt;\u003d 40,000). \u003cbr\u003e\n\u003cp\u003eEach of the following lines contains either a fact or a question, formatted as stated above. \n\u003cbr\u003e\u003cp\u003eThe \u003ci\u003ek\u003c/i\u003e parameter in the questions will be a positive integer not greater than 15, and the \u003ci\u003ev\u003c/i\u003e parameter in the facts will be a non-negative integer less than 2\u003csup\u003e20\u003c/sup\u003e.\n\u003cbr\u003e\u003cp\u003eThe last case is followed by \u003ci\u003en\u003dQ\u003d0\u003c/i\u003e, which should not be processed."}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003eFor each test case, print the case number on its own line, then the answers, one on each one.\n\u003cp\u003eIf you can\u0027t deduce the answer for a particular question, from the facts I provide you \u003cb\u003ebefore\u003c/b\u003e that question, print \"I don\u0027t know.\", without quotes.\n\u003cp\u003eIf the \u003ci\u003ei\u003c/i\u003e-th fact (don\u0027t count questions) \u003cb\u003ecannot\u003c/b\u003e be consistent with \u003cb\u003eall\u003c/b\u003e the facts before that, print \"The first i facts are conflicting.\", then keep silence for everything after that (including facts and questions). \u003chr\u003e\n\u003cb\u003ePrint a blank line after the output of each test case!!!!!\u003c/b\u003e\u003cbr\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e\u003cpre\u003e2 6\nI 0 1 3\nQ 1 0\nQ 2 1 0\nI 0 2\nQ 1 1\nQ 1 0\n3 3\nI 0 1 6\nI 0 2 2\nQ 2 1 2\n2 4\nI 0 1 7\nQ 2 0 1\nI 0 1 8\nQ 2 0 1\n0 0\u003c/pre\u003e\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e\u003cpre\u003eCase 1:\nI don\u0027t know.\n3\n1\n2\n\nCase 2:\n4\n\nCase 3:\n7\nThe first 2 facts are conflicting.\n\n\u003c/pre\u003e\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}