会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JesseKwok
博客园
首页
新随笔
联系
订阅
管理
2020年5月25日
IDEA的JavaWeb项目出现错误:HTTP Status 404 - /05_web/ type Status report message /05_web/ description The requested resource is not available.
摘要: 页面无法正常显示 原因 1:修改了 项目或者文件名但是web.iml这个配置文件里的内容没有修改,导致错误。(本人遇到的)
阅读全文
posted @ 2020-05-25 14:36 JesseKwok
阅读(1527)
评论(0)
推荐(1)
2020年4月16日
1410. HTML 实体解析器
摘要: my code : class Solution { public String entityParser(String text) { Stack<Integer> s=new Stack<>(); Map<String ,String> m=new HashMap<>(); m.put(""",
阅读全文
posted @ 2020-04-16 21:30 JesseKwok
阅读(199)
评论(0)
推荐(0)
2020年4月15日
POJ 2386 lake counting
摘要: POJ 2386 lake counting 本题主要是运用dfs来计算lake的数目: (Scanner没有nextChar()方法。第一次知道^_^) import java.util.Scanner; public class poj2386 { static char[][] lake=ne
阅读全文
posted @ 2020-04-15 20:12 JesseKwok
阅读(91)
评论(0)
推荐(0)
2020年4月14日
map的使用
摘要: map的基本操作: map的初始化: Map<String,Integer> map=new HashMap<>(); map的插入 map.put("jesse",180); map的删除 map.remove("caixukun"); map清空 map.clear(); 依据key,获取val
阅读全文
posted @ 2020-04-14 16:30 JesseKwok
阅读(130)
评论(0)
推荐(0)
PriorityQueue的使用
摘要: java 的PriorityQueue 以最小堆为默认方式,而c++默认方式是最大堆。 import java.util.*; public class Jesse{ public static void main(String[] args) { Queue<Integer> que=new Pr
阅读全文
posted @ 2020-04-14 14:13 JesseKwok
阅读(131)
评论(0)
推荐(0)
java栈的使用
摘要: java.util.Stack<E> import java.util.LinkedList;import java.util.Queue;import java.util.Stack;public class Jesse{ public static void main(String[] args
阅读全文
posted @ 2020-04-14 11:39 JesseKwok
阅读(1280)
评论(0)
推荐(0)
超大整型数据比较——string:蒜头君计数
摘要: https://nanti.jisuanke.com/t/T3174 0<m<10^1000 范围太大,不能用long long(大概1e20) ,因此使用string的字典序比较。(原题long double 也可以过) #include <iostream> #include <string>
阅读全文
posted @ 2020-04-14 11:02 JesseKwok
阅读(194)
评论(0)
推荐(0)
queue队列的使用
摘要: //queue 的基本用法import java.util.LinkedList;import java.util.Queue;public class Jesse{ public static void main(String[] args) { Queue<Integer> que=new Li
阅读全文
posted @ 2020-04-14 10:39 JesseKwok
阅读(350)
评论(0)
推荐(0)
公告