那位大哥帮助运行一下下面的程序,万分感谢。给结果就行啊
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<title>sf</title>
<script type='text/javascript'>
function count()
{
var str = '';
var j = 0;
var all = 0;
for(i = 1023 ; i < 1840 ; i ++)
{
if(i.toString().match(/(0\d*0|1\d*1|2\d*2|3\d*3|4\d*4|5\d*5|6\d*6|7\d*7|8\d*8|9\d*9)/))
{
continue;
}
for(m =976 ; m >= 102 ; m--)
{
n = i - m;
if(n>976)
break;
if((''+m+n).match(/(0\d*0|1\d*1|2\d*2|3\d*3|4\d*4|5\d*5|6\d*6|7\d*7|8\d*8|9\d*9)/))
{
continue;
}
str += m+"+"+n+"="+i+"<br />";
all ++;
}
}
document.getElementById("dd").innerHTML = 'totals : ' + all + '<br />' + str;
}
</script>
</head>
<body>
<pre>