{"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":"给定函数\n\n$$f(x) \u003d x^2 + x + 41$$\n\n当 $x$ 取 $[l, r]$ 范围内的整数值时,判定 $f(x)$ 的值是否都为素数。\n\n保证 $-39 \\leqslant l \\leqslant r \\leqslant 50$。"}},{"title":"Input","value":{"format":"MD","content":"输入数据有多组,每组占一行。\n\n每行有两个整数 $l,r$,保证 $-39 \\leqslant l \\leqslant r \\leqslant 50$。\n\n当 $l\u003d0,r\u003d0$ 时,表示输入结束,该行不做处理。"}},{"title":"Output","value":{"format":"MD","content":"对于每个给定范围内的取值,如果表达式的值都为素数,则输出\"OK\",否则请输出“Sorry”,每组输出占一行。\u003cbr\u003e"}},{"title":"Sample","value":{"format":"MD","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\u003e0 1\n0 0\u003c/pre\u003e\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e\u003cpre\u003eOK\u003c/pre\u003e\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}