自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Ray Tracing in One Weekend详细总结

Ray Tracing in One Weekend

2022-11-03 20:57:49 675 1

原创 leetcode199

Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.Example:Input:[1,2,3,null,5,null,4]Output:[1, 3, 4...

2019-10-30 13:55:13 89

原创 1044 Shopping in Mars

Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making the payment, the chain can be cut at any position ...

2019-10-17 21:16:49 120

原创 1046 Shortest Distance

The task is really simple: givenNexits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits.Input Specification:Each input file conta...

2019-10-16 19:58:46 82

原创 1042 Shuffling Machine

Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees collaborate with gambler...

2019-10-16 19:17:59 80

原创 1006 Sign In and Sign Out

At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...

2019-10-01 16:44:05 106

原创 1009 Product of Polynomials

This time, you are supposed to findA×BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the informa...

2019-10-01 16:29:14 59

原创 1005 Spell It Right

Given a non-negative integerN, your task is to compute the sum of all the digits ofN, and output every digit of the sum in English.Input Specification:Each input file contains one test case. Eac...

2019-09-30 15:00:09 70

原创 1002 A+B for Polynomials

This time, you are supposed to findA+BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the informa...

2019-09-30 14:29:49 112

原创 A1001 A+B Format

Calculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Specification:Each input ...

2019-09-30 14:10:16 143 1

原创 算法笔记---树的总结

树与二叉树 pat中树最实用的性质:满足连通,边数等于顶点数减一的图一定是一棵树(这个性质在图里面可能会考)。其他普通树的性质一般会在题目中提及,所以不必记忆。pat中树的写法:1. 指针写法:适用于所有二叉树, 但是普通的树最好用静态写法。 2. 静态写法:普通树一般都是用这种写法(最简形式是不带数据域,直接一个vector数组...

2019-08-14 18:18:07 252

空空如也

空空如也

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

TA关注的人

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