码迷,mamicode.com
首页 >  
搜索关键字:lse    ( 12373个结果
洛谷P1462通往奥格瑞玛的道路——二分答案最短路
题目:https://www.luogu.org/problemnew/show/P1462 最大值最小问题,二分答案。 代码如下: ...
分类:其他好文   时间:2018-04-24 00:23:34    阅读次数:171
tp5--Excel表格导入导出
来源于:https://www.cnblogs.com/MyIsLu/p/6830579.html PHPExcel 扩展包下载地址: https://github.com/PHPOffice/PHPExcel 放在扩展类库目录下。 导出: 控制器代码如下: 调用excel方法就可以生成一个表格了, ...
分类:其他好文   时间:2018-04-23 22:49:06    阅读次数:266
JS 常用功能
$('.js-consumeSubmit').attr("disabled", false);//设置按钮可点击 $('.js-consumeSubmit').attr("disabled",);//设置按钮不可点击 change1: function (event) { var rowNum = ... ...
分类:Web程序   时间:2018-04-23 22:45:52    阅读次数:223
判断素数 一个数的约数 一个整数的幂次约分
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 //素数测试 8 bool is_prime(int n) 9 { 10 for(int i=2; i*i divisor(int n) 18 { 19 ve... ...
分类:其他好文   时间:2018-04-23 22:44:06    阅读次数:209
条件语句,while循环语句:完整的温度转换程序
while True: a=input('1:摄氏转华氏\n2:华氏转摄氏\n3:退出\n') if a =='1': celsius=float(input('输入摄氏温度:')) fahrenheit=(celsius*9/5)+32 print('{:.2f}摄氏温度转为华氏温度为{:.2f} ...
分类:其他好文   时间:2018-04-23 18:46:22    阅读次数:115
解决yum安装 openssl-devel时产生的Multilib version problems found错误(转)
Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just pointing out that ...
分类:其他好文   时间:2018-04-23 18:43:30    阅读次数:395
从Excel导入信息在StringGrid显示
1、控件:2个Button,1个label,1个edit,1个StringGrid,1个OpenDialog,1个PopuMenu 2、双击‘......’按钮,选择文件路径 3、双击‘读取’按钮 4、PopuMenu添加PopuMenu右键弹出事件 5、给PopuMenu添加一个右键的值,双击会弹 ...
分类:其他好文   时间:2018-04-23 18:37:51    阅读次数:181
条件语句,while循环语句:完整的温度转换程序
while True: a = input('1:摄氏转华氏\n2: 华氏转摄氏\n3: 退出\n') if a == '1': celsius = float(input('输入摄氏温度:')) fahrenheit = (celsius*9/5)+32 print('{:.2f}摄氏温度转为华氏 ...
分类:其他好文   时间:2018-04-23 17:12:02    阅读次数:147
完整的温度转换程序
while True: a = input('摄氏温度转化华氏温度请按1\n华氏温度转化摄氏温度请按2\n') if a =='1': c = float(input('请输入摄氏温度:')) f = c*9/5 + 32 print('{:.2f}摄氏温度转换华氏温度为:{:.2f}'.forma ...
分类:其他好文   时间:2018-04-23 17:07:51    阅读次数:151
基于百度云实现微信服务号内文字语音互转STT TTS
先上效果图: 使用百度语音识别和语音合成两个接口实现 1.语音识别STT 用户微信输入,调用百度api,得到识别文本。 2.语音合成TTS 用户输入问题,调用百度api,得到mps音频,使用开源转码工具ffmpeg,转成微信音频格式amr 代码 使用基于.net的NorWeChat开源微信框架 // ...
分类:微信   时间:2018-04-23 14:22:07    阅读次数:1839
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!