题目链接:clicl here~~
【题目大意】:
Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula ...
分类:
其他 时间:
2015-06-02 20:13:09
收藏:
0 评论:
0 赞:
0 阅读:
368
//给集合m,问小于n的数中有多少数能被集合m中任意一个数整除
//利用容斥原理可知
//ans = 被一个数整除的数的个数 - 被两个数的最小公倍数整除的数的个数 + 被三个数的。。。
#include
#include
#include
using namespace std ;
const int maxn = 110 ;
typedef __int64 ll ;
int ...
分类:
其他 时间:
2015-06-02 20:12:37
收藏:
0 评论:
0 赞:
0 阅读:
224
本篇是上一篇字节对齐的补充。主要补充了包括数组,以及union类型的结构的实践。/* 编辑编译环境:Dev-C++ 4.9.9.2 */...
分类:
其他 时间:
2015-06-02 20:12:17
收藏:
0 评论:
0 赞:
0 阅读:
95
OGG "Loading data from file to Replicat"table数据的静态同步配置过程...
分类:
其他 时间:
2015-06-02 20:11:46
收藏:
0 评论:
0 赞:
0 阅读:
341
一直都不明白sqlnet.ora中的NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)是什么意思,今天看到一篇文档,就是登陆选用的方式,做一个测试:
tnsnames.ora
10.10.32.119 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HO...
分类:
其他 时间:
2015-06-02 20:11:36
收藏:
0 评论:
0 赞:
0 阅读:
246
杨辉三角
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 43360 Accepted Submission(s): 18223
Problem Description
还记得中学时候学过的杨辉三角吗?具体的定义这里...
分类:
其他 时间:
2015-06-02 20:11:16
收藏:
0 评论:
0 赞:
0 阅读:
149
rhel5.8 ISO yum源配置...
分类:
其他 时间:
2015-06-02 20:10:57
收藏:
0 评论:
0 赞:
0 阅读:
277
Lucene image retrieval是以图搜图的java开源框架,这几天没什么事,就读了点源码,并写了点注释,特在这分享给大家。
这里主要给出的是BOVWBuilder.java、Kmeans.java及Cluster.java。就是用词频对特征进行编码,用到是BOF(bag
of feature)模型,原理就是提取N张图片的特征(比如sift),放在一起就可以得到矩阵,然后对矩阵进...
分类:
其他 时间:
2015-06-02 20:10:17
收藏:
0 评论:
0 赞:
0 阅读:
354
杜鑫雨以天津高考状元身份考上北大光华学院。北大即将毕业前往约翰霍普金斯大学攻读硕士前夕,采访超级表格创始人,写了这篇创业报告PPT。...
分类:
其他 时间:
2015-06-02 20:10:07
收藏:
0 评论:
0 赞:
0 阅读:
152
有一条SQL性能有问题,在执行计划中发现filter,遇到它要小心了,类似于nestloop,我以前的blog对它有研究
探索执行计划中filter的原理.用exists极易引起filter.
优化前:
SELECT GGPI.ID,
GGPI.PLAN_STATE,
GGPI.PLAN_TYPE,
GGPI.PLAN_CODE,...
分类:
其他 时间:
2015-06-02 20:09:46
收藏:
0 评论:
0 赞:
0 阅读:
136
题目链接:click here~~
【题目大意】:
Now, here is a fuction: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0
【解题思路】:
首先,对该式子,求一阶导,得到F'(x) = 42*x^6 + 48*x^5+21*x^2+10*x-y,这里,我们忽略y,可发现,导函数42*x^6 + 48*x^5+21*x^2+10...
分类:
其他 时间:
2015-06-02 20:09:37
收藏:
0 评论:
0 赞:
0 阅读:
170
Problem Description
How many nondecreasing subsequences can you find in the sequence S = {s1, s2, s3, ...., sn} ? For example, we assume that S = {1, 2, 3}, and you can find seven nondecreasing sub...
分类:
其他 时间:
2015-06-02 20:09:16
收藏:
0 评论:
0 赞:
0 阅读:
290
因为要学习ffmpeg,顺面研究了一下avi容器,好了解ffmpeg怎么在容器中读取数据流的。
AVI(Audio Video Interleaved的缩写)是一种RIFF(Resource Interchange File Format的缩写)文件格式,多用于音视频捕捉、编辑、回放等应用程序中。通常情况下,一个AVI文件可以包含多个不同类型的媒体流(典型的...
分类:
其他 时间:
2015-06-02 20:08:56
收藏:
0 评论:
0 赞:
0 阅读:
212
class Solution {private: vector res; string temp;public: void getRes(string digits,int len,map num_map,int index) { if(index>=len) ...
分类:
其他 时间:
2015-06-02 20:07:58
收藏:
0 评论:
0 赞:
0 阅读:
121
【socket.gethostname() vs socket.getfqdn()】 gethostname()把域名转换为IP。
分类:
其他 时间:
2015-06-02 20:07:36
收藏:
0 评论:
0 赞:
0 阅读:
522
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1432#include int main () { int a, b, c; while (s...
分类:
其他 时间:
2015-06-02 20:06:56
收藏:
0 评论:
0 赞:
0 阅读:
180
首先要序列化的对象必须实现Serializable接口,序列化和反序列化实现代码如下:ByteUtils.javapackage com.zqgame.rabbitmq;import java.io.ByteArrayInputStream;import java.io.ByteArrayOutpu...
分类:
其他 时间:
2015-06-02 20:06:26
收藏:
0 评论:
0 赞:
0 阅读:
103
一、基于TCP(面向连接)的socket编程服务器端程序:1、创建套接字(socket)。2、将套接字绑定到一个本地地址和端口上(bind)。3、将套接字设为监听模式,准备接受客户请求(listen)。4、等待客户请求到来;当请求到来后,接受连接请求,返回一个新的对应于此次连接的套接字(accept...
分类:
其他 时间:
2015-06-02 20:05:46
收藏:
0 评论:
0 赞:
0 阅读:
136
233333...Description:就是说呢。牛是的实力室友大小之分的。然后呢。告诉你很多pair 表示任意两头牛之间的实力大小。按实力排序之后。问你一共有多少只牛的排名是确定了的。T_T == 坑了好多WA....应该是 =好吧。。貌似是拓扑排序的floyd算法。。数据太小。。三重循环水过、...
分类:
其他 时间:
2015-06-02 20:04:56
收藏:
0 评论:
0 赞:
0 阅读:
134
1.使用jfinal扩展包jfinal-ext-3.1.2.jar导出Excel报表,他需要依赖poi-3.12.jarjai包下载地址:http://files.cnblogs.com/files/zhougaojun/jfinal-ext_poi.zip导出Excel方法://导出Excel ....
分类:
其他 时间:
2015-06-02 20:04:46
收藏:
0 评论:
0 赞:
0 阅读:
347