In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
使用markdown时,一向不敢使用多级列表,因为多级列表容易出错。而实际上,只需要缩进两个空格就可以实现嵌套了。 plain four里面可以加代码片段,需要注意,代码块的开头 都需要缩进。 显示如下: one 这个是one的内容 two 这个是two的内容 three four 这个是four的 ...
分类:
其他好文 时间:
2019-03-03 09:51:38
阅读次数:
159
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Example 2: Follow up: A ...
分类:
其他好文 时间:
2019-03-02 13:43:24
阅读次数:
172
Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 ...
分类:
其他好文 时间:
2019-03-01 21:08:09
阅读次数:
289
var two="https://192.255.255.255:3215/2019/2/26/16/13/b2e8929483c66cefddbe1e49a007e3f8-47358FC376BA7D289BD3E2E4631ACD8A.BMP"; var myTwo=two.replace(/\ ...
分类:
Web程序 时间:
2019-03-01 12:59:16
阅读次数:
205
problem Sum of Two Integers 参考 1. Leetcode_Sum of Two Integers; 完 参考 1. Leetcode_Sum of Two Integers; 完 ...
分类:
其他好文 时间:
2019-03-01 12:43:06
阅读次数:
142
Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = ...
分类:
其他好文 时间:
2019-02-28 01:14:39
阅读次数:
184
1120 Friend Numbers (20 分) Two integers are called "friend numbers" if they share the same sum of their digits, and the sum is their "friend ID". For ...
分类:
其他好文 时间:
2019-02-28 01:10:03
阅读次数:
156
链接:https://codeforces.com/contest/1130/problem/B 题意: 给定n和 2 * n个数,表示i位置卖ai层蛋糕, 有两个人在1号,必须严格按照1-n的顺序买蛋糕,同时每个店只买一个蛋糕 。 求所需的最短时间。 思路: 将每种蛋糕对应位置记录在二维数组。 从 ...
分类:
其他好文 时间:
2019-02-28 01:05:01
阅读次数:
191
https://leetcode.com/tag/two-pointers/ ...
分类:
其他好文 时间:
2019-02-27 01:26:41
阅读次数:
164