- 博客(5)
- 收藏
- 关注
原创 790. Domino and Tromino Tiling
We have two types of tiles: a 2x1 domino shape, and an "L" tromino shape. These shapes may be rotated.XX <- dominoXX <- "L" trominoXGiven N, how many ways are there to tile a 2 x N bo...
2019-04-29 21:12:53
163
原创 LeetCode 778. Swim in Rising Water
On an N x Ngrid, each squaregrid[i][j]represents the elevation at that point(i,j).Now rain starts to fall. At timet, the depth of the water everywhere ist. You can swim from a square to anothe...
2019-04-25 21:08:05
211
原创 LeetCode 837. New 21 Game
原题:https://leetcode.com/problems/new-21-game/Alice plays the following game, loosely based on the card game "21".Alice starts with0points, and draws numbers while she has less thanKpoints. Du...
2019-04-20 17:01:12
156
转载 ALSA驱动中-EBADFD错误原因解析及对策
转载自:https://www.xuebuyuan.com/1003056.html在alsa驱动中有如下状态: #define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) /* stream is open */#define SNDRV_PCM_STATE_SETUP ((__force snd_pcm_state_t...
2019-01-23 10:48:03
721
原创 从零学习搭建blog 一:web服务器
不干正事的我决定用实验室服务器搭建一个blog。写个blog,记录一下学习过程。环境:System: Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-38-generic x86_64)Web server: Apache http server + PHP 7.0 + mysql 5.7配置过程:系统安装跳过,图省力选择了桌面版,Server版安装时会出现CD-ROM ...
2018-04-20 18:17:02
206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人