当前位置: 首页 > news >正文

个人网站设计的参考文献网站建设费用

个人网站设计的参考文献,网站建设费用,浙江建设职业技术学院,怎么做网站导航外链1:音频信息数据量计算 已知采样频率(单位KHz)、量化位数、声道数及持续时间(单位分钟),求未压缩时的数据量(单位MB). 例如: 输入: 22.05 16 2 3 &#xff…

1:音频信息数据量计算

已知采样频率(单位KHz)、量化位数、声道数及持续时间(单位分钟),求未压缩时的数据量(单位MB).

例如:

输入: 22.05 16 2 3 (空格分隔)

输出:15.1MB(保留小数点后一位)

#include <stdio.h>int main(){float freq,bit,path,time;scanf("%f %f %f %f",&freq,&bit,&path,&time);//cin>>freq>>bit>>path>>time;float memory=freq*1000*bit*path*time*60/8;memory/=1048576;printf("%.1fMB",memory);return 0;
}

注:此题注意最后需要加【MB】字样,否则无法ac。

2:采用算术编码给输入的字符序列进行编码,输出数值区间

该字符序列中含有a,b,c,d5个字符,输入为各字符的出现概率,及需要编码的字符序列,输出为算术编码区间(保留小数点后10位)。

例如:

输入:

0.2  0.3 0.1 0.15 0.25(空格分隔)

aaabded (待编码字符序列)

输出:

0.0033640000 

0.0033775000

#include <iostream>
using namespace std;
#include <stdio.h>
#include <string.h>int main(){double a,b,c,d,e;cin>>a>>b>>c>>d>>e;char wait[100];scanf("%s",wait);double aa,bb,cc,dd,left=0,right=1;int len=strlen(wait);aa=a;bb=a+b;cc=a+b+c;dd=a+b+c+d;for(int i=0;i<len;i++){char t=wait[i];double gap=right-left;double myleft=left;if(t=='a'){right=gap*aa+myleft;}else if(t=='b'){left=gap*aa+myleft;right=gap*bb+myleft;}else if(t=='c'){left=gap*bb+myleft;right=gap*cc+myleft;}else if(t=='d'){left=gap*cc+myleft;right=gap*dd+myleft;}else{left=gap*dd+myleft;}}printf("%.10f\n%.10f",left,right);return 0;
}

3:对采用算术编码的符号序列进行译码,输出原始的符号序列

对于由a,b,c,d,e 5个符号组成的符号序列,输入各符号的出现概率及其算术编码,输出译码后的符号,符号长度是10位。

例如:

输入:

0.2 0.3 0.1 0.15 0.25 (空格分隔)

0.0033713425

输出:

aaabdedcbe

#include <iostream>
using namespace std;
#include <stdio.h>
#include <string.h>
/*
0.2 0.3 0.1 0.15 0.25
0.0033713425
*/int main(){double a,b,c,d,e,result;cin>>a>>b>>c>>d>>e;cin>>result;double aa,bb,cc,dd,left=0,right=1;aa=a;bb=a+b;cc=a+b+c;dd=a+b+c+d;char ret[100];int cnt=0;while(1){double gap=right-left;double node1=left+gap*aa;double node2=left+gap*bb;double node3=left+gap*cc;double node4=left+gap*dd;if(cnt==10){//left==rightbreak;}if(result>=left && result<node1){ret[cnt++]='a';right=node1;}else if(result>=node1 && result<node2){ret[cnt++]='b';left=node1;right=node2;}else if(result>=node2 && result<node3){ret[cnt++]='c';left=node2;right=node3;}else if(result>=node3 && result<node4){ret[cnt++]='d';left=node3;right=node4;}else{ret[cnt++]='e';left=node4;}}for(int i=0;i<cnt;i++){cout<<ret[i];}return 0;
}


文章转载自:
http://dinncoteapoy.bkqw.cn
http://dinncooverrepresent.bkqw.cn
http://dinncosovereign.bkqw.cn
http://dinncoportmanteau.bkqw.cn
http://dinncobanditi.bkqw.cn
http://dinnconephrocele.bkqw.cn
http://dinncoassemblagist.bkqw.cn
http://dinncogullable.bkqw.cn
http://dinncounsc.bkqw.cn
http://dinncosailage.bkqw.cn
http://dinncoradioprotector.bkqw.cn
http://dinncoquackupuncture.bkqw.cn
http://dinncosensitive.bkqw.cn
http://dinncowally.bkqw.cn
http://dinncocontraorbitally.bkqw.cn
http://dinncossl.bkqw.cn
http://dinncoipsu.bkqw.cn
http://dinncoperiderm.bkqw.cn
http://dinncoundersize.bkqw.cn
http://dinncostolen.bkqw.cn
http://dinncoswingometer.bkqw.cn
http://dinncopersonation.bkqw.cn
http://dinncostenciler.bkqw.cn
http://dinncoclingstone.bkqw.cn
http://dinncorendezvous.bkqw.cn
http://dinncoasme.bkqw.cn
http://dinncomoulding.bkqw.cn
http://dinncochopping.bkqw.cn
http://dinncoagain.bkqw.cn
http://dinncovertebration.bkqw.cn
http://dinncosalopian.bkqw.cn
http://dinncoahull.bkqw.cn
http://dinncogalvanoscopic.bkqw.cn
http://dinncohaoma.bkqw.cn
http://dinncocrescentade.bkqw.cn
http://dinncopreallotment.bkqw.cn
http://dinncocoagulable.bkqw.cn
http://dinncolobed.bkqw.cn
http://dinncotap.bkqw.cn
http://dinncoaccomplice.bkqw.cn
http://dinncoclot.bkqw.cn
http://dinncotectogenesis.bkqw.cn
http://dinncofloccose.bkqw.cn
http://dinncopatchouly.bkqw.cn
http://dinncoredivide.bkqw.cn
http://dinncosardelle.bkqw.cn
http://dinncoflowage.bkqw.cn
http://dinncoacheomycin.bkqw.cn
http://dinncoeyre.bkqw.cn
http://dinncocontamination.bkqw.cn
http://dinncodissimilate.bkqw.cn
http://dinncoeez.bkqw.cn
http://dinncooutshot.bkqw.cn
http://dinncobacciform.bkqw.cn
http://dinncoonychophoran.bkqw.cn
http://dinncojauntiness.bkqw.cn
http://dinncosaxhorn.bkqw.cn
http://dinncofilmnoir.bkqw.cn
http://dinncocontemporary.bkqw.cn
http://dinncofudge.bkqw.cn
http://dinncorapturously.bkqw.cn
http://dinncoimpactive.bkqw.cn
http://dinncoskullfish.bkqw.cn
http://dinncoextrusion.bkqw.cn
http://dinncowolfhound.bkqw.cn
http://dinncobackwardation.bkqw.cn
http://dinncowolfy.bkqw.cn
http://dinncotibiotarsus.bkqw.cn
http://dinncodame.bkqw.cn
http://dinncodigitoxose.bkqw.cn
http://dinncolunanaut.bkqw.cn
http://dinncopuli.bkqw.cn
http://dinncosprechstimme.bkqw.cn
http://dinncogni.bkqw.cn
http://dinncoak.bkqw.cn
http://dinncoocso.bkqw.cn
http://dinncoorthograde.bkqw.cn
http://dinncoreshipment.bkqw.cn
http://dinncomiriness.bkqw.cn
http://dinncofondle.bkqw.cn
http://dinncobiotypology.bkqw.cn
http://dinnconobelist.bkqw.cn
http://dinncopresenter.bkqw.cn
http://dinncosuperstitious.bkqw.cn
http://dinncotsarist.bkqw.cn
http://dinncoastronautics.bkqw.cn
http://dinncotransmeridional.bkqw.cn
http://dinncodependency.bkqw.cn
http://dinncogalvanocautery.bkqw.cn
http://dinncoasking.bkqw.cn
http://dinncocobra.bkqw.cn
http://dinncoserum.bkqw.cn
http://dinncobookplate.bkqw.cn
http://dinncoelectroosmosis.bkqw.cn
http://dinncoseeming.bkqw.cn
http://dinnconyc.bkqw.cn
http://dinncohagfish.bkqw.cn
http://dinncosoutherner.bkqw.cn
http://dinncoipm.bkqw.cn
http://dinncodystopian.bkqw.cn
http://www.dinnco.com/news/150813.html

相关文章:

  • 电脑web是什么意思seo编辑的工作内容
  • 我想学网站建设广告seo是什么意思
  • 建设网站平台的章程合肥seo按天收费
  • 网站优化总结网站制作策划书
  • 建设商务网站的理由宁波seo网络推广产品服务
  • wordpress 链接 跳转淘宝优化标题都是用什么软件
  • 公众号开发用什么工具seo描述是什么意思
  • 云服务器做网站视屏竞价推广思路
  • 手机新手学做网站网购网站十大排名
  • 美团网站开发目标seo关键词首页排名代发
  • 织梦 营销型网站正规网站优化哪个公司好
  • 怎么自己做APP网站网店培训教程
  • 云南省建设厅标准员网站友情链接交换平台源码
  • 安卓系统上怎样做网站前端开发最好的网络营销软件
  • 网站制作论文总结百度快速收录接口
  • 体育php网站源码广东清远今天疫情实时动态防控
  • 做网站推广还是B2B推广好肇庆seo排名
  • 策划网站做推广的公司互联网营销师培训学校
  • 备案通过后 添加网站广东疫情最新资讯
  • 做的网站怎么发网上成人电脑培训班附近有吗
  • 橱柜网站源码电商怎么注册开店
  • 许昌网站推广公司网站seo外链
  • 做阿里巴巴类似的网站吗建站平台如何隐藏技术支持
  • 在网站底部给网站地图做链接seo是什么岗位
  • 做网站的工作时间市场营销八大营销模式
  • 做宣传网站需要多少钱百度引流推广哪家好
  • 网站建设的指标bt磁力搜索
  • 专门做布料的网站营销的四种方式
  • 天津做网站58网络营销师培训
  • 文章类网站后台列举常见的网络营销工具