- 博客(47)
- 收藏
- 关注
原创 VSCode 自定义按键 上下左右
// Place your key bindings in this file to overwrite the defaults// alt + i, j, k,l[{"key": "alt+j","command": "cursorLeft"},{"key": "alt+j ","command": "list.collapse","when": "list
2017-12-06 17:30:13
4691
1
原创 简单的CSS动画加JS实现转盘
Document .circle { background:#ccc; position: relative; height: 350px; width: 350px; display:inline-block; border-radius: 350px; text-align: center; } .play { animation: mymove 3
2017-07-21 19:47:39
1027
原创 vim 最最简单的命令
命令模式i 在光标前插入文本o 在当前行的下面插入新行dd 删除整行yy 将当前行的内容放入缓冲区n+yy 将n行的内容放入缓冲区p 将缓冲区的文本粘贴到当前光标后面u 撤销上一个操作r 替换当前字符/ 查找关键字ex模式:w 保存当前修改:q 退出:q! 强制退出:x 保存并退出,相当于:wq:set number 显示行号
2017-01-18 19:31:04
306
原创 linux基本实用命令
基本命令: su -: 切换为root用户ctrl + c : 终结当前命令google-chrome: 打开谷歌, 其他程序也可以这样打开google-chrome &: 打开谷歌,后台运行,按ctrl c 不会退出,可以输其他命令jobs: 查看后台作业ctrl + r : 搜索输入过的命令histor: 输入过的命令date:查看日期cal:显示日历
2017-01-17 22:03:24
249
原创 Codeforces Round #375 (Div. 2)(A~D)
点击打开链接A. The New Year: Meeting Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere
2016-10-04 20:20:16
313
原创 HDU 5884 青岛网络赛(二分加维护队列)
SortTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 689 Accepted Submission(s): 134Problem DescriptionRecently, Bob has just
2016-09-17 21:15:25
660
原创 codeforces 706 A ~D
题目链接:点击打开链接A. Beru-taxitime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy lives at point (a, b) of the c
2016-08-16 21:46:37
853
原创 CodeForces 180E Cubes(vector+尺取)
题目链接:点击打开链接E. Cubestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's imagine that you're playing the foll
2016-08-01 00:05:50
432
原创 CodeForces 686C Robbers' watch (dfs)
题目链接:http://codeforces.com/problemset/problem/686/CC. Robbers' watchtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-07-31 23:33:51
789
原创 hdu5763 Another Meaning(kmp+dp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5763Another MeaningTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 999 Accepted Submis
2016-07-31 23:21:24
375
原创 CF Educational Codeforces Round 15(A~D)
题目链接:http://codeforces.com/contest/702A. Maximum Increasetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are
2016-07-30 01:15:51
772
原创 Codeforces Round #364 (Div. 2)(A ~ D)
A. Cardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n cards (n iseven) in the deck. Each card has a p
2016-07-25 22:58:57
480
原创 hdu 5747Aaronson(暴力)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5747AaronsonTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 432 Accepted Submissio
2016-07-24 19:54:29
431
原创 HDU 4300 Clairewd’s message (kmp)
题目链接:点击打开链接Clairewd’s messageTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionClairewd is a member of FBI. After several years co
2016-07-24 19:47:55
525
原创 HDU 3336 Count the string(kmp)
题目链接:点击打开链接Count the stringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionIt is well known that AekdyCoin is good at string problem
2016-07-24 19:35:29
274
原创 HDU 2594 Simpsons’ Hidden Talents (kmp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2594Simpsons’ Hidden TalentsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6451 Accep
2016-07-24 19:13:42
274
原创 POJ 3080 Blue Jeans (很暴力)
题目链接:http://poj.org/problem?id=3080Blue JeansTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16228 Accepted: 7220DescriptionThe Genographic Project
2016-07-24 19:09:04
692
原创 POJ 2752 Seek the Name, Seek the Fame (kmp next数组运用)
题目链接:点击打开链接Seek the Name, Seek the FameTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 16855 Accepted: 8583DescriptionThe little cat is so famous, t
2016-07-24 18:54:07
317
原创 POJ 2406 Power Strings (kmp求循环节)
题目链接:点击打开链接Power StringsTime Limit: 3000MS Memory Limit: 65536K DescriptionGiven two strings a and b we define a*b to be their concatenation. For example,
2016-07-24 18:31:17
300
原创 HUST 1010 The Minimum Length (kmp求最小循环节)
题目链接:点击打开链接1010 - The Minimum Length时间限制:1秒 内存限制:128兆题目描述There is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I got a new string: AAAAAA...
2016-07-24 18:24:17
675
原创 HDU 1358 Period (kmp求循环节)
题目链接:点击打开链接PeriodTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6523 Accepted Submission(s): 3144Problem DescriptionFor ea
2016-07-24 18:17:17
804
原创 HDU 3746 Cyclic Nacklace (kmp求循环节)
题目链接:点击打开链接Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6402 Accepted Submission(s): 2833Problem Descriptio
2016-07-24 18:09:27
1014
原创 HDU 2087剪花布条 (kmp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2087剪花布条Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15563 Accepted Submission(
2016-07-24 18:02:09
231
原创 HDU 1686Oulipo (kmp模板题)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1686OulipoTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10800 Accepted Submissio
2016-07-24 17:58:23
357
原创 HDU 1711 Number Sequence(kmp模板)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711Number SequenceTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20827 Accepted S
2016-07-24 17:52:28
333
原创 Codeforces Round #354 (Div. 2) D.Theseus and labyrinth(BFS)
题目链接:http://codeforces.com/contest/676/problem/DD. Theseus and labyrinthtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputsta
2016-05-30 15:09:08
660
原创 Codeforces Round #354 (Div. 2)B.Pyramid of Glasses(思维题)
题目链接:http://codeforces.com/contest/676/problem/BB. Pyramid of Glassestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputsta
2016-05-30 14:57:52
568
原创 codeforces670D2 Magic Powder - 2 (二分)
题目链接 http://codeforces.com/problemset/problem/670/D2D2. Magic Powder - 2time limit per test1 secondmemory limit per test256 megabytesinputstandard inputou
2016-05-07 18:57:56
1422
原创 codeforces 651C. Watchmen(排列,去重)
题目链接:http://codeforces.com/contest/651/problem/CC. Watchmentime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputst
2016-03-08 14:08:47
1314
原创 HDU5631并查集检验图连通
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5631Rikka with GraphTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 562 Accepted
2016-02-25 20:57:01
458
原创 Hdu 4145 Cover The Enemy(大开脑洞)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4145Cover The EnemyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Problem Description Now, the w
2015-12-09 15:55:16
591
原创 codeforces604B More Cowbell
题目链接:http://codeforces.com/contest/604/problem/BB. More Cowbelltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
2015-12-03 21:56:35
394
原创 codeforces604C Alternative Thinking (脑洞大开 )
题目连接:http://codeforces.com/contest/604/problem/C C. Alternative Thinkingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandar
2015-12-03 21:45:52
909
原创 codeforces 472BDesign Tutorial: Learn from Life(简单贪心)
B. Design Tutorial: Learn from Lifetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne way to create a task
2015-12-02 10:26:30
422
原创 codeforces 499B Lecture(map与string简单用法)
B. Lecturetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a new professor of graph theory and he s
2015-11-30 20:24:07
619
原创 code forces 4C Registration system (map 的简单用法)
C. Registration systemtime limit per test5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputA new e-mail service "Berlandesk" is
2015-11-26 15:49:42
712
原创 codeforces602C The Two Routes (最短路模板题)
题目链接:http://codeforces.com/problemset/problem/602/CC. The Two Routestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputsta
2015-11-26 11:14:25
1458
原创 Codeforces 459B Pashmak and Flowers
题目链接:http://codeforces.com/problemset/problem/459/B B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard o
2015-11-26 10:41:33
433
原创 Codeforces 327A Flipping Game
A. Flipping Gametime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard output Iahub got bored, so he invented a game to be pl
2015-11-26 10:39:28
399
原创 Codeforces 598DIgor In the Museum (BFS加离线优化)
D. Igor In the Museumtime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard output题目链接:http://codeforces.com/problemset/problem/598
2015-11-26 10:37:02
351
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人