- 博客(28)
- 资源 (1)
- 收藏
- 关注
原创 Linux 下常用命令
## Ubuntu - 清空回收站 - sudo rm -rf ~/.local/share/Trash/* - 在图形界面点清空很慢,文件多了会无响应- 寻找文件 - 定位文件 locate filename - 更新数据库 sudo updatedb## Atom- 实时预览 Markdown - 快捷键 Ctrl+Shift+M - 菜单栏 Packages -> Markdown Preview -> Toggle Preview## Git- 误删分支
2024-06-30 22:14:16
563
1
原创 快用双拼!
双拼,顾名思义,用两个按键来实现任何汉字的拼音输入。一般来说就是声母一个,韵母一个。由于每个字都对应两个按键,所以打起字来十分有节奏感。对于只有韵母的特殊情况,声母用 o 来替代。如“啊”就是oa,“安”就是oj。重码率和全拼差不多,尤其在支持模糊输入的情况下。支持全拼双拼混合输入。
2024-06-30 21:32:51
305
转载 为什么电影名叫 Gattaca ?
more最近看了电影《千钧一发》,发现电影的英文名叫 Gattaca,这并不是英语中既有的单词,于是我开始思考它的由来,发现这个单词其实挺有意思。
2024-06-30 01:01:05
408
转载 ICPC WorldFinals 2019 G 「First of Her Name」(AC 自动机)
除了 1 号夫人外,其余夫人的名字均为一个大写字母连接着她母亲的名字。你知道王国历史上所有皇室夫人的姓名与关系,而你需要完成的任务是,对于其他历史学家感兴趣的名字串 s,总共有多少位夫人的名字是以 s 起始的。而作为研究皇室的历史学家的你,最近接到了一个艰巨的任务——分析王国历史中所有皇室夫人的名字。题目问的是以询问串为前缀的夫人名字有多少,等价于问以询问反串为后缀的夫人名字反串有多少。所有夫人名字的反串可以构成一棵前缀树,而且每个节点都代表一个唯一的夫人名字。个感兴趣的名字串起始的。
2024-06-30 00:48:33
91
原创 poj 3984 迷宫问题
迷宫问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:10098Accepted:6002Description定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0,
2015-06-22 00:27:46
691
原创 Contest2079 - 湖南多校对抗赛(2015.05.03) Problem A: Twenty-four point
Problem A: Twenty-four pointTime Limit:1 SecMemory Limit:128 MBSubmit:414Solved:62[Submit][Status][Web Board]DescriptionGiven four numbers, can you get twenty-four through th
2015-06-21 16:36:20
851
转载 ASCII码表_完整版
转载自:http://www.cnblogs.com/xmxu/archive/2012/07/10/2584032.htmlASCII码表ASCII值控制字符ASCII值控制字符ASCII值控制字符ASCII值控制字符
2015-06-16 03:18:58
1093
原创 Codeforces Round #306 (Div. 2), problem: (A) Two Substrings
A. Two Substringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given strings. Your task is to d
2015-06-16 03:04:41
1142
原创 contest: Codeforces Round #307 (Div. 2), problem: (A) GukiZ and Contest
A. GukiZ and Contesttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProfessor GukiZ likes programming cont
2015-06-15 09:34:11
945
原创 Codeforces Round #305 (Div. 2), problem: (A) Mike and Fax
Codeforces Round #305 (Div. 2), problem: (A) Mike and Fax
2015-05-28 20:30:34
807
原创 Codeforces Round #298 (Div. 2), problem: (A) Exam
Codeforces Round #298 (Div. 2), problem: (A) ExamAn exam for n students will take place in a long and narrow room, so the students will sit in a line in some order. The teacher suspects that students with adjacent numbers (i and i + 1) always studied side
2015-05-26 22:59:16
563
原创 contest: Codeforces Round #297 (Div. 2), problem: (B) Pasha and String
转置与顺序无关,比如 1 2 3 4 5 和 5 4 3 2 1的转置顺序结果是一样的,所以先进行排序,删除成对的且相同的,同一部分转置两次相当于没转;即 1-10,3-8,4-7,5-6 先看前两个 3-8转了两次 所以只需要转置 1,2,与9,10即可 同理 只要交换4与7即可。于是要进一步优化,例如一个长度为10的串,输入 5 4 3 2 2 1 先排序,删掉两个2,剩下 1 3 4 5。其实还可以简化,刚开始嫌麻烦就这样交了..于是超时了..刚好卡在最后一组数据上..
2015-05-24 00:22:31
733
原创 contest: Codeforces Round #300, problem: (B) Quasi Binary
contest: Codeforces Round #300, problem: (B) Quasi Binary
2015-05-23 05:59:04
1023
原创 contest: Codeforces Round #300, problem: (A) Cutting Banner(解法 3)
contest: Codeforces Round #300, problem: (A) Cutting BannerA large banner with word CODEFORCES was ordered for the 1000-th onsite round of Codeforcesω that takes place on the Miami beach. Unfortunately, the company that made the banner mixed up two orders
2015-05-23 04:43:06
986
原创 contest: Codeforces Round #300, problem: (A) Cutting Banner(解法 1、2)
contest: Codeforces Round #300, problem: (A) Cutting BannerA large banner with word CODEFORCES was ordered for the 1000-th onsite round of Codeforcesω that takes place on the Miami beach. Unfortunately, the company that made the banner mixed up two orders
2015-05-23 04:09:24
819
原创 contest: Codeforces Round #303 (Div. 2), problem: (A) Toy Cars
contest: Codeforces Round #303 (Div. 2), problem: (A) Toy CarsThere are n toy cars. Each pair collides. The result of a collision can be one of the following: no car turned over, one car turned over, both cars turned over. A car is good if it turned over
2015-05-22 16:00:30
773
原创 Codeforces Round #295 (Div. 2), problem: (A) Pangram
Codeforces Round #295 (Div. 2), problem: (A) PangramYou are given a string consisting of lowercase and uppercase Latin letters. Check whether this string is a pangram. We say that the string contains a letter of the Latin alphabet if this letter occurs in
2015-05-22 14:54:58
600
原创 contest: Codeforces Round #301 (Div. 2), problem: (A) Combination Lock
contest: Codeforces Round #301 (Div. 2), problem: (A) Combination LockThe combination lock is represented by n rotating disks with digits from 0 to 9 written on them. Scrooge McDuck has to turn some disks so that the combination of digits on the disks for
2015-05-22 14:22:25
491
原创 codeforces 545B Equidistant String
codeforces 545B Equidistant StringWe will define the distance between two strings s and t of the same length consisting of digits zero and one as the number of positions i, such that si isn't equal to ti.
2015-05-22 13:40:12
747
原创 “正直角三角形” Contest2074 - 中南大学第九届大学生程序设计竞赛网络预选赛
“正直角三角形” Contest2074 - 中南大学第九届大学生程序设计竞赛网络预选赛
2015-05-01 15:52:27
757
原创 外卖的撕‘哔’大战 Contest2074 - 中南大学第九届大学生程序设计竞赛网络预选赛
外卖的撕‘哔’大战 Contest2074 - 中南大学第九届大学生程序设计竞赛网络预选赛
2015-04-30 23:14:31
1162
原创 poj 2533 Longest Ordered Subsequence(DP)
poj 2533 Longest Ordered Subsequence dp
2015-04-17 23:12:28
474
原创 hnu_13269 Simple String
hnu_13269 Simple StringWelcome,this is the 2015 3th Multiple Universities Programming Contest ,Changsha ,Hunan Province. In order to let you feel fun, ACgege will give you a simple problem. But is that true? OK, let’s enjoy it.There are three strings A
2015-04-10 00:28:05
443
原创 Wet Tiles CSU Contest2073 - 湖南多校对抗赛(2015.04.06) I
Contest2073 - 湖南多校对抗赛(2015.04.06) 1569 Problem I Wet Tiles For each house, display the total number of tiles that are wet after T minutes.
2015-04-07 00:47:46
581
原创 Reverse Rot Contest2073 - 湖南多校对抗赛(2015.04.06)G
Reverse Rot Contest2073 - 湖南多校对抗赛(2015.04.06)GYour task is to implement this encoding scheme for strings that contain only capital letters, underscores, and periods. Rotations are to be performed using the alphabet order:ABCDEFGHIJKLMNOPQRSTUVWXYZ_.No
2015-04-06 22:10:05
586
原创 hnu_13268 Navigition Problem
hnu2015warmup 15 C Navigition Problem中南csuoj Contest2071 - 湖南多校对抗赛(2015.03.28)1549 Navigition Problem
2015-04-06 00:21:08
564
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人