1. git init 创建一个仓库2. git config user.name zcc 告诉git你是zcc3. git config user.email 976325486@qq.com 配置我的邮箱4. git config --global user.name zcc 加一个--glo....
分类:
其他好文 时间:
2015-12-11 22:13:39
阅读次数:
132
1.利用Math.round()的方法:两个int型的数相除,结果保留小数点后两位:int a=1188;int b=93;double c;c=(double)(Math.round(a/b)/100.0);//这样为保持2位打印结果:c=0.12c=new Double(Math.round(a...
分类:
其他好文 时间:
2015-12-11 22:12:39
阅读次数:
186
在运行mapreduce的时候,出现Error: GC overhead limit exceeded,查看log日志,发现异常信息为2015-12-11 11:48:44,716 FATAL [main] org.apache.hadoop.mapred.YarnChild: Error runn...
分类:
其他好文 时间:
2015-12-11 22:11:18
阅读次数:
342
Maximum execution time of 30 seconds exceeded,今天把这个错误的解决方案总结一下:简单总结一下解决办法:报错一:内存超限,具体报错语句忘了,简单说一下解决办法。利用循环分批导入;每个循环内部开始处使用sleep(5);语句,做延迟执行,防止服务器内存同一时...
分类:
其他好文 时间:
2015-12-11 22:11:25
阅读次数:
168
Problem DescriptionRecently, Doge got a funny birthday present from his new friend, Protein Tiger from St. Beeze College. No, not cactuses. It's a mys...
分类:
其他好文 时间:
2015-12-11 22:12:00
阅读次数:
244
cocos2dx 之动画的实现,而不是动作。比如在游戏中我们需要一个人物跑动的效果(不是移动的效果),这时候我们就需要用到动画了,我们通过执行播放一组动作图片,就可以实现动画的效果;将动画组打包,通过 TexturePacker 打包图片组成一张图片 ,比如名字就叫 playerRun.png, p...
分类:
其他好文 时间:
2015-12-11 22:10:49
阅读次数:
143
一、团队scrum meeting照片二、今日总结姓名WorkItem ID工作内容签入链接以及备注说明江昊任务945学习使用sass,学习的主要难点在于ruby环境的搭建、sass语法的学习以及使用。接下来要开始做前端界面开发了,会在开发中运用学到的sass知识https://github.com...
分类:
其他好文 时间:
2015-12-11 22:11:00
阅读次数:
189
Ten Tips for Writing CS Papers, Part 2This continues thefirst parton tips to write computer science papers.6. Ideal Structure of a ParagraphA paper ha...
分类:
其他好文 时间:
2015-12-11 22:07:56
阅读次数:
201
一上来看见题目就用了深搜(因为只会深搜)果断内存超限(据说时间也会超限)无奈只好开始用广搜其实广搜的思路和深搜有很多类似的地方 不过实现的过程中用到了队列 因此有点难以理解(好吧我个人认为)这题是最基本的广搜了 只是一个二叉树所以先画个二叉树出来看一下广搜的顺序每一个节点下一层的节点入队之后就把这个...
分类:
其他好文 时间:
2015-12-11 22:10:07
阅读次数:
221
T公司做CPC已经7年了,号称是囊括了PDM、KM、CPC(产品协同商务)的CPC产品,进去用过后发现不过是鸡肋,里面似乎PDM、KM、CPC啥都有点,但却又啥都不像不地道。暂且先说说知识管理吧,不过是一个类VSS的文件夹管理软件加上文件夹的权限管理即可号称知识管理来招摇撞骗,其结果是不明就里的T公...
分类:
其他好文 时间:
2015-12-11 22:09:25
阅读次数:
144
题目连接https://leetcode.com/problems/implement-strstr/Implement strStr()DescriptionImplement strStr().Returns the index of the first occurrence of needle...
分类:
其他好文 时间:
2015-12-11 22:06:13
阅读次数:
146
题目连接https://leetcode.com/problems/next-permutation/Next PermutationDescriptionImplement next permutation, which rearranges numbers into the lexicograp...
分类:
其他好文 时间:
2015-12-11 22:04:34
阅读次数:
156
偶在今天想通过某一个按钮的按下松开实现针对于某一个动画的切换,之前使用的CCMenuItemImage,大概代码如下:CCMenuItemImage *pFightItem = CCMenuItemImage::create( "Normal.png","Selected.png",this, .....
分类:
其他好文 时间:
2015-12-11 22:04:41
阅读次数:
170
1 #import 2 3 int main(int argc, const char * argv[]) { 4 @autoreleasepool { 8 /* 9 不可变字符串 10 1.创建字符串 11...
分类:
其他好文 时间:
2015-12-11 22:04:51
阅读次数:
162
题目连接https://leetcode.com/problems/remove-element/Remove ElementDescriptionGiven an array and a value, remove all instances of that value in place and ...
分类:
其他好文 时间:
2015-12-11 22:03:20
阅读次数:
110
题目连接https://leetcode.com/problems/count-and-say/Count and SayDescriptionThe count-and-say sequence is the sequence of integers beginning as follows:1,...
分类:
其他好文 时间:
2015-12-11 22:04:25
阅读次数:
156
题目连接https://leetcode.com/problems/anagrams/Group AnagramsDescriptionGiven an array of strings, group anagrams together.For example, given: [“eat”, “te...
分类:
其他好文 时间:
2015-12-11 22:04:06
阅读次数:
161