Xiangqi is one of the most popular two-player board games in China. The game represents a battle between two armies with the goal of capturing the ene ...
分类:
其他好文 时间:
2018-02-07 22:45:41
阅读次数:
304
D - Katana Thrower Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement You are going out for a walk, when you suddenly encou ...
分类:
其他好文 时间:
2018-02-05 21:49:43
阅读次数:
174
C - Vacant Seat Time limit : 2sec / Memory limit : 256MB Score : 500 points Problem Statement This is an interactive task. Let N be an odd number at l ...
分类:
其他好文 时间:
2018-02-04 11:18:15
阅读次数:
205
1 #include 2 #include 3 using namespace std; 4 #include 5 #include 6 #include 7 #include // for formating strings 8 #include 9 #include 10 #include 11... ...
分类:
其他好文 时间:
2018-02-03 00:37:57
阅读次数:
2536
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 考虑l..r这个区间。 且r是满足a[r] a[l]r的话累加C(R (l+1)+1,3); 如果l+1 【代码】 cpp include define ll long long using namespace std; con ...
分类:
其他好文 时间:
2018-02-01 13:11:10
阅读次数:
112
今天我们来探讨一下数据库中一个很重要的概念:索引。 MySQL官方对索引的定义为:索引(Index)是帮助MySQL高效获取数据的数据结构,即索引是一种数据结构。 我们知道,数据库查询是数据库的最主要功能之一。我们都希望查询数据的速度能尽可能的快,因此数据库系统的设计者会从查询算法的角度进行优化。最 ...
分类:
数据库 时间:
2018-01-31 22:25:43
阅读次数:
460
题目链接: Colorful Points 题意: 给出一段字符串(长度最大为1e6),每次操作可以删除字符串中所有相邻字符与其不同的字符。例如:aabcaa 删除一次就变成了aa,就无法再删除了。题目要求所给出的字符串要操作几次后才无法操作。 题解: 可以把整个字符串化简为相邻字符都不同的串,把每 ...
分类:
其他好文 时间:
2018-01-31 14:47:59
阅读次数:
180
1、 SVG+JS path等值变化实现CSS3兴叹的图形动画 « 张鑫旭-鑫空间-鑫生活.html http://www.zhangxinxu.com/wordpress/2014/06/svg-path-d-polyline-points-bezier-curves/ 2、 SVG之Animat ...
分类:
其他好文 时间:
2018-01-29 15:42:01
阅读次数:
174
Symmetric Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/symmetric tree/description/ Description Given a binary tree, check whether it is a mirr ...
分类:
其他好文 时间:
2018-01-26 15:48:07
阅读次数:
112