- 博客(38)
- 收藏
- 关注
原创 使用hexo搭建个人博客 在Github上一键部署
文章目录一、初步搭建本地Hexo博客1.安装安装前提安装 Hexo2.建站生成项目运行项目二、更换博客主题(hexo-theme-matery)1.下载2.更换主题3.更换中文4.修改主题项中的配置新建分类 categories 页新建标签 tags 页新建关于我 about 页新建友情链接 friends 页(可选的)新建 404 页代码高亮搜索中文链接转拼音(建议安装)文章字数统计插件(建议安装)添加emoji表情支持(可选的)添加 RSS 订阅支持(可选的)三、Github上搭建博客1.新建仓库2.初
2020-07-28 21:59:47
1618
3
原创 Codeforces Round #576 (Div. 2) C. MP3
这道题我看题意看半天,一看懂就很简单了。题意:首先有n个数,K表示n个数中不同的个数(比如说3个数1 2 3则K=3,1 2 2则K=2)这K个数需要k bits(k=log2K),存这些数要nk bits空间。现在给你一个I byte大小的磁盘来装这n个数(其实就是8I bits大小)使得这些数在区间[ l , r ]上,小于l的数全改成l,大于r的数全改成l,最少要修改多少个数。思...
2019-07-31 17:53:33
182
原创 Codeforces Round #576 (Div. 2) D. Welfare State
题意:输入一个数组,经过不同的操作后再按原来的顺序输出这个数组。操作1:将第x个数换成y操作2:将所有小于x的数换成x思路:如果每次都实现操作2的步骤肯定会Tle,所有我们要对每次的操作2进行处理。具体怎么实现呢?我是用一个idx来记录进行了第几次2操作了,然后用last[i]=idx来记录最近修改第i个数值的时候已经进行了多少次的2操作了。用p[i]来记录第i次p操作将所有的数修改成什...
2019-07-31 17:22:09
183
原创 Codeforces 1165F1&&F2 Round #560 (Div. 3) - Microtransactions【二分法】
F2. Microtransactions (hard version)time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe only difference between easy and hard versions is con...
2019-05-23 23:47:06
338
原创 HDU - 2577 How to Type【C++练习题】
How to TypeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8215 Accepted Submission(s): 3637Problem DescriptionPirates have finished deve...
2019-02-02 09:28:13
232
原创 CodeForces 711A Bus to Udayland 【C++练习题】
A. Bus to Udaylandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon are travelling to Udayland! To get there,...
2019-01-30 23:01:13
495
原创 HDU - 1114 Piggy-Bank【C++练习题】
Piggy-BankTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 37247 Accepted Submission(s): 18457Problem DescriptionBefore ACM can do anythin...
2019-01-30 22:56:29
340
原创 HDU 2191 悼念512汶川大地震遇难同胞——珍惜现在,感恩生活【C++练习题】
悼念512汶川大地震遇难同胞——珍惜现在,感恩生活Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 40320 Accepted Submission(s): 17073Problem Description急!灾区的食物依然短...
2019-01-30 01:21:20
246
原创 HDU 1422 重温世界杯 【C++练习题】
重温世界杯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8728 Accepted Submission(s): 2967Problem Description世界杯结束了,意大利人连本带利的收回了法国人6年前欠他们的债,捧...
2019-01-30 01:19:03
329
原创 HDU 1160 FatMouse's Speed【C++练习题】
FatMouse’s SpeedTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22143 Accepted Submission(s): 9847Special JudgeProblem DescriptionFatMou...
2019-01-30 01:16:15
212
原创 HDU 1576 A/B【C++练习题】
A/BTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10310 Accepted Submission(s): 8245Problem Description要求(A/B)%9973,但由于A很大,我们只给出n(n=A%99...
2019-01-30 01:00:56
177
原创 HDU 1069 Monkey and Banana【C++练习题】
Monkey and BananaTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21468 Accepted Submission(s): 11465Problem DescriptionA group of researc...
2019-01-30 00:58:54
207
原创 HDU 1171 Big Event in HDU【C++练习题】
Big Event in HDUTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 54082 Accepted Submission(s): 18312Problem DescriptionNowadays, we all k...
2019-01-30 00:56:19
165
原创 CodeForces - 479A Expression【C++练习题】
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths. His class has been studying arithm...
2019-01-30 00:52:35
309
原创 CodeForces - 580A Kefa and First Steps【C++练习题】
A. Kefa and First Stepstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKefa decided to make some money doing business on the Internet for exa...
2019-01-30 00:50:39
269
原创 CodeForces - 136A Presents【C++练习题】
A. Presentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya very much likes gifts. Recently he has received a new laptop as a New...
2019-01-30 00:48:09
411
原创 CodeForces - 41A Translation【C++练习题】
The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a litt...
2019-01-30 00:44:12
284
原创 HDU-1159 Common Subsequence【C++练习题】【dp+动态规划】
Common SubsequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 51302 Accepted Submission(s): 23616Problem DescriptionA subsequence of ...
2019-01-22 20:59:31
214
原创 HUD-1096 A+B for Input-Output Practice (VIII)【C++练习题】
A+B for Input-Output Practice (VIII)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 208306 Accepted Submission(s): 61377Problem Descriptio...
2018-12-14 20:36:37
287
原创 HUD-1095 A+B for Input-Output Practice (VII)【C++练习题】
A+B for Input-Output Practice (VII)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 92991 Accepted Submission(s): 61243Problem Description...
2018-12-14 20:34:31
229
原创 HUD-1094 A+B for Input-Output Practice (VI)【C++练习题】
A+B for Input-Output Practice (VI)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 95291 Accepted Submission(s): 62694Problem DescriptionY...
2018-12-14 20:33:24
234
原创 HUD-1093 A+B for Input-Output Practice (V)【C++练习题】
A+B for Input-Output Practice (V)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 101442 Accepted Submission(s): 66981Problem DescriptionY...
2018-12-14 20:02:06
212
原创 HUD-1092 A+B for Input-Output Practice (IV)【C++练习题】
A+B for Input-Output Practice (IV)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 137477 Accepted Submission(s): 71874Problem Description...
2018-12-14 19:59:09
310
原创 HUD-1091 A+B for Input-Output Practice (III)【C++练习题】
A+B for Input-Output Practice (III)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 146800 Accepted Submission(s): 77377Problem Description...
2018-12-14 19:57:22
330
原创 HUD-1090 A+B for Input-Output Practice (II)【C++练习题】
A+B for Input-Output Practice (II)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 134420 Accepted Submission(s): 85036Problem Description...
2018-12-14 19:51:11
273
原创 HUD-1089 A+B for Input-Output Practice【C++练习题】
A+B for Input-Output Practice (I)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 178300 Accepted Submission(s): 93365Problem DescriptionY...
2018-12-14 19:49:48
284
原创 HUD-1001 Sum Problem【C++练习题】
Sum ProblemTime Limit: 1000/500 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 598018 Accepted Submission(s): 151211Problem DescriptionHey, welcome to HDOJ(Ha...
2018-12-14 19:47:08
184
原创 HUD-2005 第几天?【C++练习题】
第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 208022 Accepted Submission(s): 72689Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入...
2018-12-11 16:25:22
232
原创 C++ HDU-2101 A + B Problem Too【练习题】
A + B Problem TooTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 21011 Accepted Submission(s): 15453Problem DescriptionThis problem is al...
2018-12-06 20:16:24
155
原创 C++ HUD-2002 计算球体积【练习题】
计算球体积Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 221038 Accepted Submission(s): 86310Problem Description根据输入的半径值,计算球的体积。Input输入数据有多...
2018-12-06 20:10:09
479
原创 C++ HDU-2000 ASCII码排序【练习题】
ASCII码排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 236665 Accepted Submission(s): 93214Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序...
2018-12-06 20:02:13
431
原创 C++ HDU-1106 排序【练习题】
排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 76350 Accepted Submission(s): 23333Problem Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一...
2018-12-06 19:50:22
622
1
原创 C++ HDU-100 A + B Problem【练习题】
A + B ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 833093 Accepted Submission(s): 252044Problem DescriptionCalculate A + B.Inp...
2018-12-06 19:35:13
201
原创 C++ CodeForces-266A. Stones on the Table【练习题】
A. Stones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n stones on the table in a row, each of them can be red, gree...
2018-12-06 19:30:28
355
原创 C++ CodeForces-467A. George and Accommodation【练习题】
A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the BSUCP (Berland State University for...
2018-12-06 19:20:38
1468
1
原创 C++ CodeForces-118A. String Task【练习题】
A. String Tasktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya started to attend programming lessons. On the first lesson his task was t...
2018-12-06 19:05:37
326
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人