自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 每日一练习——密码锁

Description Scrooge McDuck keeps his most treasured savings in a home safe with a combination lock. Each time he wants to put there the treasures that he's earned fair and square, he has to open the lock. The combination lock is represented by n rotating

2020-12-29 14:52:39 453

原创 每日一练习——车辆碰撞选好车问题

Description Little Susie, thanks to her older brother, likes to play with cars. Today she decided to set up a tournament between them. The process of a tournament is described in the next paragraph. There are n toy cars. Each pair collides. The result of

2020-12-29 14:17:37 140

原创 每日一练习——买香蕉问题

看到一个算法专栏的博主的博客 -->(MingShen),觉得很有意思,可惜博主是用C语言写的,征得博主同意后本考拉决定将这位博主的算法题(当然是在自己能力范围之内的)用 java 或 scala 进行实现,哈哈哈哈哈哈。 Description A soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so

2020-11-12 11:26:05 576

原创 关于Redis那点事 —— 基础篇

关于Redis那点事(一) 1. redis基本概念 redis默认端口号:6379,默认共有16个数据库(0 ~ 15),如果不选择数据库,默认存储进入0号数据库 redis是内存型数据库,数据的存储格式是K-V键值对形式,key是String类型的,value可以分为不同的数据结构,但是get查阅出来的所有的数据都是String类型 reids的命令对大小写不敏感,但key对大小写敏感 2. redis数据结构 String #选择数据库 select 0 #查看已经使用字节数 dbsize

2020-11-11 17:44:18 120 1

空空如也

空空如也

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

TA关注的人

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