码迷,mamicode.com
首页 >  
搜索关键字:stack this exception    ( 19884个结果)
力扣(LeetCode)试题28-实现strStr() C++代码
没想到的点:若haystack="mississippi",needle = "issip"。按我的匹配算法(在haystack中检索needle的第一个元素,若没有该元素返回-1,若有则搜索后边的元素是否对应,这是有问题的!!),匹配到haystack中前部分issis,程序就结束了,返回了-1, ...
分类:编程语言   时间:2020-07-04 15:12:40    阅读次数:58
求助:Runtime exception at 0x004000bc: invalid integer input (syscall 5)
代码 .data S17: .asciiz "the bigger one is:" .text move $fp $sp j main max: lw $t8 0($sp) subi $sp $sp 8 sw $t8 0($sp) addi $sp $sp 12 lw $t8 0($sp) sub ...
分类:其他好文   时间:2020-07-04 13:23:36    阅读次数:94
简单的JdbcUtil 类
import java.sql.*; /** JDBC工具类 */ public class JdbcUtil { /** * 获取数据库连接对象并返回 * * @return Connection对象 * @throws Exception */ public static Connection ...
分类:数据库   时间:2020-07-03 21:23:12    阅读次数:76
threading.local
作用:为每个线程创建一个独立的空间,使得线程对自己的空间中的数据进行操作(数据隔离)。 import threading from threading import local import time obj = local() def task(i): obj.xxxxx = i time.sle ...
分类:其他好文   时间:2020-07-03 21:07:57    阅读次数:58
RSA解密时BadPaddingException解决方法
工作的时候遇到程序需要进行RSA加密解密的部分,在写第一版测试的时候,出现了:Exception in thread "main" javax.crypto.BadPaddingException: Data must start with zero at sun.security.rsa.RSAP ...
分类:其他好文   时间:2020-07-03 21:05:14    阅读次数:76
springboot(8) 发送邮件
1、pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> <dependency> <group ...
分类:编程语言   时间:2020-07-03 21:01:25    阅读次数:57
多线程读写文件
//主函数 public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); // String localFilePath = localTempPath+" ...
分类:编程语言   时间:2020-07-03 19:09:32    阅读次数:64
3.栈与队列
点击使用幕布网页版查看(含思维导图)[栈] 点击使用幕布网页版查看(含思维导图)[队列] 栈(stack) 特点:操作受限的线性表,只允许在一端插入和删除数据,后进先出 顺序栈,入栈操作有两种情况: 栈空间足够,那么直接入栈就行(定义不涉及内存搬移的入栈操作为simple-push操作,时间复杂度为 ...
分类:其他好文   时间:2020-07-03 17:51:42    阅读次数:67
luogu P2064 奇妙的汽车 爆搜
#include<map> #include<queue> #include<time.h> #include<limits.h> #include<cmath> #include<ostream> #include<iterator> #include<set> #include<stack> # ...
分类:其他好文   时间:2020-07-03 15:38:44    阅读次数:52
Tomcat配置https
1、使用Java提供的工具生成证书 路径不能是文件夹,否则会找不到出现说 java.lang.Exception: 密钥库文件存在, 但为空的情况 keytool -genkey -alias myKeyStore -keyalg RSA -keystore 'D:\work\keystore\ke ...
分类:Web程序   时间:2020-07-03 15:20:07    阅读次数:96
共19884条   上一页 1 ... 69 70 71 72 73 ... 1989 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!