自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

原创 1102 Invert a Binary Tree (25分)

The following is from Max Howell @twitter:Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree on a whiteboard so fuck off.Now it's your turn to...

2020-01-31 09:08:15 242

原创 1045 Favorite Color Stripe (30分)

Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off those unwanted pieces and sewing the remaining parts...

2020-01-04 14:30:55 243

原创 1040 Longest Symmetric String (25分)

Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is PAT&TAP symmetric?, the longest symmetric sub-string is s PAT&TAP s, hence you ...

2020-01-02 22:18:03 169

原创 1038 Recover the Smallest Number (30分)

Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we can recover many numbers such like 32-321-3214-0229...

2020-01-02 20:52:34 103

原创 PAT1032 Sharing

To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For example,...

2020-01-01 18:08:31 140

原创 常用技巧----离散化

这个技巧比较常用,当处理数据比较大,但是又不是很需要去关心数据的具体数值,而只需要去关心相对位置时会很有用(因为很多题目的数据范围会很大,但给的数据点却很少,或者这个数据范围是连续的时候)比如 -2000000 200 600 -4000 600 2000000这种输入,要对其进行离散化,先对其进行排序,然后用unique进行去重,之后所对应的序号便是离散化后的数据。#include <...

2020-01-01 15:04:24 200

RoboWare Studio ubuntu 最新安装包

官网的那个不是很好下,欢迎大家下载。 ROS IDE

2018-03-28

2018MCM数模美赛题目及翻译

2018年数模美赛题目,2018年数模美赛题目,2018年数模美赛题目

2018-02-09

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

TA关注的人

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