每个数想要得到最大的异或值,就肯定是在二进制上是互补的,所以暴力找出互补的数。
#include
#include
#include
#include
#include
#include
#define LL long long
using namespace std;
int a[110000];
int n;
int link[110000];
int bit(int n)
{
...
分类:
其他好文 时间:
2014-09-15 17:45:49
阅读次数:
197
Quick Start
Interactive Analysis with the Spark Shell
BasicsMore on RDD OperationsCaching
Standalone ApplicationsWhere to Go from Here
This tutorial provides a quick introduction to using Sp...
分类:
其他好文 时间:
2014-09-15 12:57:48
阅读次数:
258
How to Add custom html to Header in WebGrid MyEvernote Link Posted on March 30, 2013by mtryambake How to make a MVC 3 Webgrid with checkbox column?Thi...
分类:
Web程序 时间:
2014-09-14 23:28:17
阅读次数:
273
WebGrid Helper with Check All Checkboxes myEvernote Link Tuesday, September 13, 2011ASP.NET ASP.NET MVC Html Helper jQuery WebMatrix Introduction: Web...
分类:
Web程序 时间:
2014-09-14 23:26:47
阅读次数:
433
1.之前一直是SQL使用,没有深入学习数据库的底层知识,尤其使其进程以及锁以及底层的数据如何存储的这些知识。2.渐渐的在开发中对数据库的要求慢慢高了 比如:临时表 -----BI里面,存储过程里面 物化试图----BI里面类似 DB-Link在开发中的使用3.oracle的锁机...
分类:
数据库 时间:
2014-09-14 02:32:36
阅读次数:
220
需求:用js做一个简单的留言板效果
html部分:
1:
2:
3:
4: js实现简单留言板
5:
6: <link rel="stylesheet" type="text/css" href="...
分类:
Web程序 时间:
2014-09-14 01:26:36
阅读次数:
220
CSS伪类,是一种特殊的类,它针对到CSS选择器起作用,使选中的标签或元素产生特定的效果。CSS伪类的语法就是: 选择器 : 伪类名 { 属性 : 属性值 }用的最多的伪类就是超链接a的伪类,有:link,:visited,:hover,:active,而且需要按照这个顺序设置,有个简单的记法是,取...
分类:
Web程序 时间:
2014-09-14 00:00:16
阅读次数:
293
-创建 CREATE public database link test_link CONNECT TO scott IDENTIFIED BY tiger using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERV...
分类:
数据库 时间:
2014-09-13 22:53:06
阅读次数:
363
调试了一阵子的RTSP server终于可以看到直播了,测试环境为
①RT5350 运行于AP 模式
②客户端为PC+VLC ,wifi是用的是tp-link的54Mbps usb 网卡...
分类:
其他好文 时间:
2014-09-13 17:19:45
阅读次数:
511
Hello Guys, It seems nothing would be not good after posting this blog link in my MS application. See you everyday. ...
分类:
其他好文 时间:
2014-09-13 02:59:44
阅读次数:
222