自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 收藏
  • 关注

原创 shell 配色方案

[isayme]text(bold)=eaeaeamagenta(bold)=ff00fftext=ffffffwhite(bold)=eaeaeagreen=00c000red(bold)=d20000green(bold)=00ff00black(bold)=808080red=c00000blue=113fccblack=000000blue(bold)=0080f...

2019-02-26 01:40:03 356

转载 通过xshell连接Windows中的linux子系统

https://blog.csdn.net/raoweijian/article/details/65661302

2019-02-26 01:22:14 1825

原创 pat甲级1016

1016 Phone Bills (25 分)A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, depending on the time of day wh...

2019-02-24 17:52:56 275

转载 c++容器循环删除

https://blog.csdn.net/success041000/article/details/6747381

2019-02-04 23:51:25 211

转载 win10设置exe程序开机自启

https://blog.csdn.net/lumanman_/article/details/66972622

2019-02-02 10:37:40 2244

转载 vscode c/c++ 轻量级编译环境配置

https://blog.csdn.net/qq_34859482/article/details/85813680https://blog.csdn.net/bat67/article/details/76095813再下一个code runner,配置一下在终端中运行,完美。http://www.sivan.tech/2019/02/07/%E5%85%B3%E4%BA%8EVis...

2019-01-26 01:29:35 407

转载 最大子列问题

摘自https://my.oschina.net/itblog/blog/267860 著作权归原作者所有。问题的引入    给定(可能有负数)整数序列A1, A2, A3..., An, 求这个序列中子序列和的最大值。(为方便起见,如果所有整数均为负数,则最大子序列和为0)。例如:输入整数序列: -2, 11, 8, -4, -1, 16, 5, 0,则输出答案为35,即从A2~A6。...

2019-01-12 23:23:25 118

原创 to_string()

c++将各种数转为字符串类型的函数,返回值是string类型,头文件是<string>。

2019-01-12 00:11:07 499

原创 visual studio 中c++debug时防止运行完毕后自动退出

在工程上右键--->属性--->配置属性--->连接器--->系统--->子系统(在窗口右边)--->下拉框选择控制台(/SUBSYSTEM:CONSOLE)

2018-06-23 21:18:06 4094

原创 最新的ubuntu 18.04触控板右键失灵的解决方法

ubuntu的软件中心(橘黄色的那个)搜索gnome-tweak,安装运行, 到 keyboard & mouse tab>Mouse click emulation> AREA这个项打勾解决。还有一种解释是18.04 ubuntu的触控板的驱动默认按照mac的触控板模式来的,在terminal运行 gsettings set org.gnome.desktop.per...

2018-04-29 16:10:03 14601 12

原创 不重装系统硬盘raid改ahci模式方法

win+r 打开cmd,输入msconfig,进入系统配置,选择引导选项,安全引导选项加勾,退出重启进入bios(dell 按 F2),更改硬盘模式为achi,重启再次进入msconfig取消安全引导并再次重启,完成。(感觉是利用了安全引导模式的特殊启动方式,什么个原理我不懂。。)...

2018-04-29 11:54:55 11788

原创 PAT甲级1015

1015. Reversible Primes (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA reversible prime in any number system is a prime whose "reverse" in that number system is also a prim...

2018-03-25 10:55:37 226

原创 PAT甲级1014

1014. Waiting in Line (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for service. There is a yellow line in front of the windows which devid...

2018-03-24 18:03:30 252

原创 PAT甲级1013

1013. Battle Over Cities (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is vitally important to have all the cities connected by highways in a war. If a city is occupied b...

2018-03-20 20:05:38 390

转载 ubuntu 16.04 打开以及关闭图形界面

关闭图形界面:1.不可恢复:sudo systemctl disable lightdm.service2.可恢复:sudo systemctl set-default multi-user.target打开图形界面,分别针对上述1和21sudo apt-get install --reinstall lightdm2sudo systemctl set-default graphical.tar...

2018-03-14 00:15:42 10350

原创 PAT甲级1012

1012. The Best Rank (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C -...

2018-03-13 23:08:18 188

原创 PAT甲级1011

1011. World Cup Betting (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWith the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best ...

2018-03-02 21:02:10 123

原创 PAT甲级1010

1010. Radix (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a d...

2018-02-28 23:30:26 210

原创 PAT甲级1009

1009. Product of Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Ea...

2018-02-24 22:54:50 161

转载 vim 设置C++ STL 高亮的方法

http://www.vim.org/scripts/script.php?script_id=2224

2018-02-24 19:50:01 1473

原创 PAT甲级1008

1008. Elevator (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers deno...

2018-02-22 20:10:17 175

原创 PAT甲级1007

1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, .....

2018-02-22 19:24:59 245

原创 PAT甲级1006

1006. Sign In and Sign Out (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAt the beginning of every day, the first person who signs in the computer room will unlock the door, and the la...

2018-02-10 23:30:07 110

原创 PAT甲级1005

1005. Spell It Right (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-negative integer N, your task is to compute the sum of all the digits of N, and out

2018-02-05 20:40:43 152

原创 PAT甲级1004

1004. Counting Leaves (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your job is to count those family

2018-02-03 01:12:10 174

原创 PAT甲级1003

1003. Emergency (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, you are given a special map of your country. The map s

2018-01-27 18:13:40 140

原创 PAT甲级1002

1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+B where A and B are two polynomials.Input

2018-01-24 18:17:57 84

原创 PAT甲级1001

题目:1001. A+B Format (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueCalculate a + b and output the sum in standard format -- that is, the digits must be separated

2018-01-22 22:00:03 490

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除