学习jstorm过程中,碰到一问题: ?ERROR com.alibaba.jstorm.daemon.supervisor.SyncProcessEvent ?- Failed Sync Process java.lang.IllegalArgumentException: No output fields defined fo...
分类:
其他好文 时间:
2015-04-26 12:31:31
阅读次数:
248
原题:Given a string, find the length of the longest substring without repeating characterFor example, the Longest substring without repeating letters fo...
分类:
编程语言 时间:
2015-04-25 22:41:48
阅读次数:
229
分析:可以采用自底向上的方法也可以采用自顶向下的方法,这里采用第二种
#include
using namespace std;
int dp[15][100010];
int main()
{
int i,j,maxt,t,n,x,temp;
while(scanf("%d",&n) && n)
{
maxt=0;
memset(dp,0,sizeof(dp));
fo...
分类:
其他好文 时间:
2015-04-24 19:12:25
阅读次数:
156
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
编程语言 时间:
2015-04-23 23:22:16
阅读次数:
203
http://acm.hdu.edu.cn/showproblem.php?pid=4753
Problem Description
There is a 3 by 3 grid and each vertex is assigned a number.
It looks like JiuGongGe, but they are different, fo...
分类:
其他好文 时间:
2015-04-23 19:54:03
阅读次数:
203
原图:效果1:效果2:
效果3:效果4:
查看官方的API,其中ColorMatrix的说明如下:
5x4 matrix for transforming the color+alpha components of a Bitmap. The matrix is stored in a single array, and its
treated as fo...
分类:
移动开发 时间:
2015-04-22 13:52:10
阅读次数:
267
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-04-22 07:04:07
阅读次数:
126
问题描述启动liferay之后,在控制台中打印出会打印出以下信息:信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not fo...
分类:
编程语言 时间:
2015-04-21 14:27:47
阅读次数:
123
发送通知这次邮件我们将会讨论怎么获取电量状态在安卓设备上,为了完成这个目标,我们将会使用到广播。What is BroadcastReceiver?A broadcast receiver is an Android component which allows you to register fo...
分类:
移动开发 时间:
2015-04-20 14:44:40
阅读次数:
287
After gradution for three years , I suddenly found I did nothing. So decide to settle down and focus on work now. Played enough.This blog is mainly fo...
分类:
其他好文 时间:
2015-04-20 12:52:08
阅读次数:
101