{"trustable":false,"sections":[{"title":"Description","value":{"format":"MD","content":"Semon有一个长度为n的数组a。\n定义mul(i, j)为a\u003csub\u003ei\u003c/sub\u003e * a\u003csub\u003ei+1\u003c/sub\u003e * ... * a\u003csub\u003ej\u003c/sub\u003e\n定义fac(i, j)为mul(i, j)的质因子个数。\n试求sum(fac(i, j)),其中1 \u0026le; i \u0026le; j \u0026le; n。"}},{"title":"Input","value":{"format":"MD","content":"第一行为一个整数n(1 \u0026le; n \u0026le; 10\u003csup\u003e6\u003c/sup\u003e)。\n第二行为n个整数,表示数组a(1 \u0026le; a\u003csub\u003ei\u003c/sub\u003e \u0026le; 10\u003csup\u003e6\u003c/sup\u003e)。"}},{"title":"Output","value":{"format":"MD","content":"一个整数,即所求答案。"}},{"title":"Sample Input","value":{"format":"MD","content":"```\n10\n99 62 10 47 53 9 83 33 15 24\n```"}},{"title":"Sample Output","value":{"format":"MD","content":"```248```"}}]}