上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: 文章目录 啥是JavaScriptJavaScript与HTML的结合方式js文件在HTML中的位置注释方式变量命名规范:定义的关键字 To be a struggling Rick for everything~ 啥是JavaScript 题外话,JavaScript并非java的简版,这在核心技 阅读全文
posted @ 2019-03-25 08:04 Moliay 阅读(13) 评论(0) 推荐(0)
摘要: 原题链接https://leetcode.com/problems/redundant-connection/ 题目描述 In this problem, a tree is an undirected graph that is connected and has no cycles. The g 阅读全文
posted @ 2019-03-23 21:31 Moliay 阅读(12) 评论(0) 推荐(0)
摘要: 异常描述:大概看到这个鬼样子…… 打开tomcat解压后文件: conf -> logging.properties右键,选择以记事本或其他方式打开(只要能修改文件内容的软件都OK)找到 java.util.logging.ConsoleHandler.encoding = UTF-8 把UTF-8 阅读全文
posted @ 2019-03-22 12:17 Moliay 阅读(12) 评论(0) 推荐(0)
摘要: 原题链接https://leetcode.com/problems/friend-circles/ 题目描述 There are N students in a class. Some of them are friends, while some are not. Their friendship 阅读全文
posted @ 2019-03-21 14:54 Moliay 阅读(14) 评论(0) 推荐(0)
摘要: import java.util.*; /* 盒子里有n个小球,A、B两人轮流从盒中取球,每个人都可以看到另一个人取了多少个,也可以看到盒中还剩下多少个, 并且两人都很聪明,不会做出错误的判断。 我们约定: 每个人从盒子中取出的球的数目必须是:n1,n2,n3……nr 轮到某一方取球时不能弃权! A 阅读全文
posted @ 2019-03-20 20:07 Moliay 阅读(57) 评论(0) 推荐(0)
摘要: 原题链接https://leetcode.com/problems/evaluate-division/ 题目描述 Equations are given in the format A / B = k, where A and B are variables represented as stri 阅读全文
posted @ 2019-03-19 15:07 Moliay 阅读(26) 评论(0) 推荐(0)
摘要: 文章目录 常用互动方法1. document.write() 直接向页面输出内容2. `alert();`弹出消息对话框3. confirm消息对话框4. prompt弹出消息对话框,用于需要与用户进行交互的情形5. window.open();打开新窗口6.window.close()关闭窗口 D 阅读全文
posted @ 2019-03-18 16:50 Moliay 阅读(20) 评论(0) 推荐(0)
摘要: 原题链接https://leetcode.com/problems/number-of-islands/ 题目描述 Given a 2d grid map of '1’s (land) and '0’s (water), count the number of islands. An island 阅读全文
posted @ 2019-03-17 21:26 Moliay 阅读(14) 评论(0) 推荐(0)
摘要: 原题链接https://leetcode.com/problems/surrounded-regions/ 题目描述 Given a 2D board containing ‘X’ and ‘O’ (the letter O), capture all regions surrounded by ‘ 阅读全文
posted @ 2019-03-15 21:06 Moliay 阅读(13) 评论(0) 推荐(0)
摘要: 辗转相除法又名欧几里德算法。 他是已知最古老的的算法哦~ 文章目录 原理* 引入* 正题 代码实现 原理 * 引入 设有整数a,b,他们可以表示为: a = m1k+n1 b = m2k+n2 易得 (a+b) % k = (m1k+m2k) % k + (n1+n2) % k = (n1+n2) 阅读全文
posted @ 2019-03-14 11:44 Moliay 阅读(187) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页