Specified key was too long; max key length is 767 bytes

在Hive里创建表时出现了错误:FAILED: Execution Error, return code 1 from org.apache.Hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreExcept
2次阅读

[Angular] Using ngTemplateOutlet to create dynamic template

I can use <tamplete> syntax and a entry component as a container to create a dynamic component. Notice it will create a empty div as a placehold
4次阅读

BZOJ 3809 Gty的二逼妹子序列

暴力。。。严格的说是mlogn+m√nlogn的。。。就是莫队+BIT。然后我们可以按照值域分块,这样修改O(1)查询O(√n),这样总复杂度就是2*m*√n。有点像做了一个时间复杂度的权衡。。。看起来查询变慢了,事实上总复杂度是变快了。#include<iostream>#includ
7次阅读

A TLS packet with unexpected length was received 解决方法

参考:A TLS packet with unexpected length was received.系统环境主系统 OS X,虚拟机 Ubuntu 14.04 64bit。问题描述在git clone时遇见错误:···A TLS packet with unexpected length was
4次阅读

3720: Gty的妹子树

3720: Gty的妹子树Time Limit: 10 Sec  Memory Limit: 128 MBSubmit: 1440  Solved: 482[Submit][Status][Discuss]Descrip
8次阅读

[BZOJ3729]Gty的游戏

[BZOJ3729]Gty的游戏试题描述某一天gty在与他的妹子玩游戏。妹子提出一个游戏,给定一棵有根树,每个节点有一些石子,每次可以将不多于L的石子移动到父节点,询问将某个节点的子树中的石子移动到这个节点先手是否有必胜策略。gty很快计算出了策略。但gty的妹子十分机智,她决定修改某个节点的石子或
8次阅读

GT考试(bzoj 1009)

Description  阿申准备报名参加GT考试,准考证号为N位数X1X2....Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2...Am(0<=Ai<=9)有M位,不出现是指X1X2...Xn中没有恰好一段等于A1A2...Am. A
6次阅读

jquery validate minlength rule is not working

Question:I have a form with a password field. The password has to be at least 8 characters long.<form action="/account/register" method="post" id="
8次阅读

hdu 5506 GT and set dfs+bitset优化

GT and setTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionYou are given 
8次阅读

[LeetCode] Encode String with Shortest Length 最短长度编码字符串

 Given a non-empty string, encode the string such that its encoded length is the shortest.The encoding rule is: k[encoded_string], where the enco
31次阅读