码迷,mamicode.com
首页 >  
搜索关键字:multi_range read    ( 19693个结果
省选前的数据结构和字符串训练合编
虚树 [SDOI2011]消耗战 板题,基本上是对着网上的板子敲的 #include <bits/stdc++.h> using namespace std; inline int read() { int out = 0; register char cc = getchar(); while ( ...
分类:其他好文   时间:2021-03-01 12:59:52    阅读次数:0
shell编程基础二
一、流程控制 while循环:只要条件满足一直循环 read -p "请输入一个数字:" white_data while [ ${white_data} -lt 20 ] do echo ${white_data} white_data=$((white_data + 1)) done until ...
分类:系统相关   时间:2021-02-27 13:22:57    阅读次数:0
Thread线程
package com.xiahong.base.Thread; //创建线程方式一:1.继承Thread类 2.重写run()方法 3.调用start 开启线程 public class ThreadTest extends Thread{ @Override public void run() ...
分类:编程语言   时间:2021-02-27 13:08:19    阅读次数:0
把一个文本文档中只有一个数字的行给打印出来
题目要求 用shell实现,把一个文本文档中只有一个数字的行给打印出来。 参考答案 #!/bin/bash while read line do n=`echo $line |sed 's/[^0-9]//g'|wc -L` if [ $n -eq 1 ] then echo $line fi do ...
分类:其他好文   时间:2021-02-27 13:00:32    阅读次数:0
关于application.yml配置读取
问题记录 在完成项目的过程中,遇到了这样一个问题:读取application.yml信息时,报空指针异常。 application.yml配置如下: #Cacheable 注解默认生存时间(秒)cacheable: redis: ttl: 3600 在自定义的 PropertiesUtil类中,进行 ...
分类:移动开发   时间:2021-02-27 12:57:22    阅读次数:0
python安装模块包报错解决办法
在安装pygame时,抛出异常: raise ReadTimeoutError(self._pool, None, 'Read timed out.'),超时报错 在Windows下: C:\用户\Administrator\下,新建pip文件夹,在创建pip.ini文件(先创建txt,复制下面内容 ...
分类:编程语言   时间:2021-02-26 13:11:34    阅读次数:0
webapi Action中跳转到指定内容
最近项目里面有用到webapi接口作为回调页面,然后由页面展示回调内容 [HttpGet] [ActionName("ScanQRCodeCallBack")] public System.Net.Http.HttpResponseMessage ScanQRCodeCallBack(string ...
分类:Windows程序   时间:2021-02-26 13:03:43    阅读次数:0
Windows API 可能会返回 MSDN 文档上没有提到的错误码
例如 _sopen_s 在磁盘空间不够的时候, 宏 errno 就会返回 ENOSPC(28) MSDN 文档时只提到以下错误码 errno valueCondition EACCES The given path is a directory, or the file is read-only, ...
分类:Windows程序   时间:2021-02-26 13:03:15    阅读次数:0
xlwings读取一整个excel文件xlsx的第一sheet到pandas.DataFrame的方法
为什么不用:pd.read_excel ? 因为 pd 使用 openpyxl 读取excel文件,有时候xlsx文件是由ApachIO产生的读取进去会出错,换个方式,用xlwings(基于pywin32?)。 传说会更快吗,没有测试速度,可以自行测试。 代码: import xlwings as ...
分类:Windows程序   时间:2021-02-25 11:40:56    阅读次数:0
"***.sh" is read-only (add ! to override) 问题解决
见博客:https://blog.csdn.net/jgm20475/article/details/80381650?utm_source=blogxgwz6 出现这种错误时会退出不了vim,那么出现这种错误的原因有: 1、该错误为当前用户没有权限对文件修改。 2、该文件没有正确保存退出,正在打开 ...
分类:其他好文   时间:2021-02-23 13:57:52    阅读次数:0
19693条   上一页 1 ... 22 23 24 25 26 ... 1970 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!