- 博客(26)
- 收藏
- 关注
原创 properties代码如何高亮
小的知识点的记录问题在IDEA中,properties文件是存在关键字检查的,比如设置常量的时候,就会存在灰色的下划线提醒,并且提示“Unused property more… (Ctrl+F1)”,这个的提醒十分的醒目,让人想去掉。方法其实很简单,只需要找到关键字检查,然后再找到关于Properties的那部分就可以了这样就去掉让人感觉麻烦的灰色下划线了提醒因为我不是很清楚这...
2018-10-08 22:16:12
882
1
原创 SpringBoot系列之JPA的使用
JPA的简单定义对于我这样初次接触的人来说,jpa就是一种连接数据的api,由于JpaRepository接口提供了很多强大的方法,能很方便的拼接,从而能让我们对数据库的操作较为方便的进行操作。JpaRepository通过各种接口的继承,从而有了各种CRUD和分页之类的方法可以使用JPA关键字下面是各种可以拼接组合的关键字SpringBoot JPA代码实例文件目录阅览简...
2018-09-30 09:43:13
252
原创 容量b\B\KB\MB\GB,数组空间
最小的单位是bit(简称b),是储存器的最小单位,表示一位二进制数 接下来是字节(Byte, 简称B),1Byte=8bit,是存储器的基本单位,通常被称为一个存储单元。常规: 1bit 1B = 8b 1KB = 1024B 1MB = 1024KB 1GB = 1024MB 1TB = 1024GB 1PB = 1024TB 1EB = 1024P
2017-12-03 12:47:40
1062
原创 LCS算法
LCS-最长公共子序列 其实有两个概念容易模糊: 1:最长公共字串 2:最长公共子序列最长公共子串其实是连续的字符串,而最长公共子序列只要顺序不发生改变就可以。比如abcde, hbcxdo这样两个字符串 最长公共子串是:bc 最长公共子序列是:bcd 想法:我们可以通过动态规划的思路来思考 假设字符串Xn, Ym 然后最长公共子序列是 Zk (n, m, k代表字符串长度)
2017-12-02 21:48:38
735
2
原创 hdu 2089 不要62 (数位DP)
hdu 2089 不要62 (数位DP)不要62Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26005 Accepted Submission(s): 9054Problem Des
2015-08-18 16:37:14
323
原创 UVA 12526 Cellphone Typing (字典树)
UVA 12526 Cellphone Typing (字典树)Cellphone TypingTime Limit: 5000msMemory Limit: 131072KBThis problem will be judged on UVA. Original ID: 1252664-bit integer IO format: %
2015-08-09 23:19:39
467
原创 杭电 hdu 1102 Constructing Roads (最小生成树)
杭电 hdu 1102 Constructing Roads (最小生成树)Constructing RoadsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16548 Accepted Sub
2015-07-19 20:53:37
349
原创 杭电 hdu 1856 More is better (并查集)
杭电 hdu 1856 More is better (并查集)More is betterTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 18187 Accepted Submission
2015-07-19 16:49:58
1938
原创 杭电 hdu 1272 小希的迷宫 和 hdu 1325 Is It A Tree?(最下生成树 + 并查集)
杭电 hdu 1272 小希的迷宫 (最下生成树 + 并查集)小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33084 Accepted Submission(s): 101
2015-07-18 20:28:36
309
原创 浙大 zoj 1654 Place the Robots (二分匹配 + 关于x,y轴的构造边)
浙大 zoj 1654 Place the Robots (二分匹配 + 关于x,y轴的构造边)Place the RobotsTime Limit: 5 Seconds Memory Limit: 32768 KB Robert is a famous engineer. One day he was given a task
2015-07-18 10:23:13
498
原创 杭电 hdu 1507 Uncle Tom's Inherited Land* (二分匹配 + 两种方法构造边)
杭电 hdu 1507 Uncle Tom's Inherited Land* (二分匹配 + 两种方法构造边)Uncle Tom's Inherited Land*Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submis
2015-07-18 10:18:15
452
原创 杭电 hdu 1350 和 1960 Taxi Cab Scheme (二分匹配 + 最小路径覆盖)
杭电 hdu 1350 和 1960 Taxi Cab Scheme (二分匹配 + 最小路径覆盖)Taxi Cab SchemeTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 891
2015-07-18 08:40:50
425
原创 杭电 hdu 1151 Air Raid (二分匹配 + 最小路径覆盖)
杭电 hdu 1151 Air Raid (二分匹配 + 最小路径覆盖)Air RaidTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3822 Accepted Submissio
2015-07-18 08:35:56
300
原创 杭电 hdu 1150 Machine Schedule (二分匹配)
杭电 hdu 1150 Machine Schedule (二分匹配)Machine ScheduleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6694 Accepted Submiss
2015-07-17 21:23:18
347
原创 杭电 hdu Warm up 2 (二分匹配)
杭电 hdu Warm up 2 (二分匹配)Warm up 2Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1991 Accepted Submission(s): 904
2015-07-17 16:16:26
449
原创 杭电 hdu 1083 Courses (二分匹配 )
杭电 hdu 1083 Courses (二分匹配 )CoursesTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4743 Accepted Submission(s): 2278
2015-07-17 15:49:35
478
原创 杭电 hdu 2063 (最基础的 二分匹配)
杭电 hdu 2063 (最基础的 二分匹配)过山车Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13630 Accepted Submission(s): 5977Problem
2015-07-17 15:33:51
1151
原创 杭电 hdu 1546 Idiomatic Phrases Game (最短路径 + Dijkstra)
杭电 hdu 1546 Idiomatic Phrases Game (最短路径 + Dijkstra)Idiomatic Phrases GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
2015-07-15 12:03:26
545
原创 杭电 hdu 3790 最短路径问题 (最短路径 + Dijkstra)稍微的变形
杭电 hdu 3790 最短路径问题 (最短路径 + Dijkstra)稍微的变形最短路径问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16641 Accepted Submissi
2015-07-14 23:27:13
505
原创 杭电 hdu 2544 最短路 (最短路径 + Dijkstra算法)
杭电 hdu 2544 最短路 (最短路径 + Dijkstra算法)最短路Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 39824 Accepted Submission(s): 173
2015-07-14 22:49:18
705
原创 杭电 hdu 1800 Flying to the Mars (水题 STL)
杭电 hdu 1800 Flying to the Mars (水题 STL)Flying to the MarsTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13290 Acce
2015-07-13 23:51:20
531
原创 杭电 hdu 1215 七夕节 (筛选法) 水题
杭电 hdu 1215 七夕节 (筛选法) 水题七夕节Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34887 Accepted Submission(s): 10931Problem D
2015-07-13 16:53:11
503
原创 poj 2777 Count Color (线段树 + 覆盖标记)
poj 2777 Count Color (线段树 + 覆盖标记)Count ColorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 38676 Accepted: 11625DescriptionChosen Problem So
2015-07-13 14:26:14
529
原创 杭电 hdu 1213 How Many Tables(经典并查集 基础题)
杭电 hdu 1213 How ManyTables(经典并查集 基础题)How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17488 Accepted Submission(s):
2015-07-13 09:28:32
402
原创 杭电 hdu 1033 (水题) 但英文特难,题意很难理解
EdgeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2369 Accepted Submission(s): 1510Problem DescriptionFor products that are w
2015-07-12 15:40:43
1177
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人