{"trustable":true,"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 每个人都讨厌难看的问题。\n \u003cbr\u003e\n \u003cbr\u003e\n 给你一个正整数。你必须用回文数的和来表示这个数字。\n \u003cbr\u003e\n \u003cbr\u003e\n 回文数是一个正整数,如果你将该整数以十进制的形式写出,且没有前导零,那么这个字符串就是一个回文数。例如,1 是一个回文数,而 10 不是。\n\u003c/div\u003e"}},{"title":"输入","value":{"format":"HTML","content":"在输入的第一行,有一个整数 T,表示测试用例的数量。\n\u003cbr\u003e\n\u003cbr\u003e\n对于每个测试用例,只有一行描述给定的整数 s ($1\\leq s \\leq\u0026#x14; 10^{1000}$)."}},{"title":"输出","value":{"format":"HTML","content":"对于每个测试用例,输出“Case #x:”在第一行,其中 x 是从 1 开始的测试用例编号。然后在一行上输出你所使用的回文数的个数 n。n 必须不超过 50。然后输出 n 行,每行包含一个你的回文数。它们的和必须正好为 s。"}},{"title":"样例","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\u003e2\r\n18\r\n1000000000000\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase #1:\r\n2\r\n9\r\n9\r\nCase #2:\r\n2\r\n999999999999\r\n1\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e"}},{"title":"提示","value":{"format":"HTML","content":"\u003cbr\u003e\n9 + 9 \u003d 18\n\u003cbr\u003e\n999999999999 + 1 \u003d 1000000000000\n\u003cbr\u003e"}}]}