哈夫曼编码(Huffman Coding),又称霍夫曼编码,是一种编码方式,哈夫曼编码是可变字长编码(VLC)的一种。Huffman于1952年提出一种编码方法,该方法完全依据字符出现概率来构造异字头的平均长度最短的码字,有时称之为最佳编码,一般就叫做Huffman编码(有时也称为霍夫曼编码)。
ASCII(American Standard Code for Information Interchange,美国标准信息交换代码)是基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他西欧语言。它是现今最通用的单字节编码系统,并等同于国际标准ISO/IEC 646。
霍夫曼编码是一种编码方式,ASCII码是一种语言编码系统也就是用来对语言做输入编码的。
参考链接:
哈夫曼编码_百科词条
http://baike.baidu.com/link?url=CGLZFJxud6sI2WqJ2H3ljcMqG8zRRRVTJN7plT619dqZ2uwyuUIJn19_Ejnv8-nKyaIWflhorkZV_NtuqUAorK
ASCII_百科词条
http://baike.baidu.com/link?url=l_vl6PD50lcsVFj9oNVF10rKQnJsMN8c0l64PHyQI8tZrSzKgG2BtWtQNQuqYiRcnU1Kjh6Xzxjl2F20F8y-otBDj0ImPSpk9Nt3QurjKN1Ct3cvoZI63mSSp5nYsdr4qr9QOMj16kGx3lrKIHtD-sVFQHWxfUm3-m05dAX8IYK
加个函数修改下 就可以了<html>
<head>
<meta http-equiv="Content-Type" content="text/htmlcharset=gb2312">
<link rel="stylesheet" href="finance.css">
<title>合计</title>
</head>
<body background="image/beg1.gif" leftmargin="0" topmargin="0">
<br>
<form id="frmxx" name="frmxx" action="Manager_F_budgeteeringSave.asp" method=post >
<table width="800" border="0" align=center cellpadding="0" cellspacing="0" class="tableframe">
<tr align=center class=Listtitle>
<td class=listcelltitle width=50 align=center>2008年报表</td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data61" type="text" value="120" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data62" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data63" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data64" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data65" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data66" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data67" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data68" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data69" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data610" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data611" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data612" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data613" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data614" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data615" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data616" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data617" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data618" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data619" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data620" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data621" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data622" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data623" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data624" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data625" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data626" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data627" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data628" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data629" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data630" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data631" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data632" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data633" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data634" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data635" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data636" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data637" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data638" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data639" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data640" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data641" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data642" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data643" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data644" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data645" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data646" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data647" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data648" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data649" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data650" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data651" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data652" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data653" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data654" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data655" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data656" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data657" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data658" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data659" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data660" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data661" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1_1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data662" type="text" value="0" size="20">
</div></td>
</tr>
<tr align=left class=listrow1>
<td class=listcellrow nowrap align=right><div align="center">
<input name="data663" type="text" value="0" size="20">
</div></td>
</tr>
<tr class=listrow1_1>
<td colspan="9" nowrap class=listcellrow>
<div align="center">合计值文本框:
<input name="sumdata" type="text" value="0" size="20" onfocus="sumhe()">
</div></td>
</tr>
</table>
</form>
<script>
window.onload=sumhe
window.document.onkeyup=sumhe
function sumhe(){
var lens,kk
kk=0
lens=document.frmxx.elements.length-1
for(i=1i<=lensi++){
kk+=parseFloat(eval('document.frmxx.data6'+i+'').value)
}
document.frmxx.sumdata.value=kk
}
</script>
</body>
</html>
08年山东经济学院专一批二志愿分数线为514分!录取最高分为545分,最低分为504分!专一批一志愿录取最高分为565分,最低分为544分!中外合作专一批二志愿录取最高分为545分最低分为500分!