kiki's game Problem Description Recently kiki has nothing to do. While she is bored, an idea appears in his mind, she just playes the checkerboard gam ...
                            
                            
                                分类:
其他好文   时间:
2017-02-06 23:50:57   
                                阅读次数:
261
                             
                         
                    
                        
                            
                            
                                实现功能:棋子初始化及走棋规则 棋子类: 1 #ifndef STONE_H 2 #define STONE_H 3 4 #include <QString> 5 6 class Stone 7 { 8 public: 9 Stone(); 10 ~Stone(); 11 12 enum TYPE{ ...
                            
                            
                                分类:
其他好文   时间:
2017-02-02 21:59:06   
                                阅读次数:
717
                             
                         
                    
                        
                            
                            
                                package com.stone.util; import java.io.UnsupportedEncodingException; import sun.misc.*; public class Base64 { // 加密 public static String getBase64(Str... ...
                            
                            
                                分类:
编程语言   时间:
2017-01-17 14:13:39   
                                阅读次数:
200
                             
                         
                    
                        
                            
                            
                                If you have a git repo and now you want to make it a plain filesystem tree .. (removing the git tracking system), you can do the following: ...
                            
                            
                                分类:
其他好文   时间:
2017-01-15 07:39:25   
                                阅读次数:
235
                             
                         
                    
                        
                            
                            
                                Example:Given binary tree Returns [4, 5, 3], [2], [1]. Explanation: 1. Removing the leaves [4, 5, 3] would result in this tree: 2. Now removing the le ...
                            
                            
                         
                    
                        
                            
                            
                                http://www.cnblogs.com/stone_w/p/4757578.html Redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有序 ...
                            
                            
                         
                    
                        
                            
                            
                                    public class Main { public static void main(String[] args) { // TODO Auto-generated method stub GameFrame frame = new GameFrame(); frame.setTitle("Gam... ...
                            
                            
                                分类:
编程语言   时间:
2016-12-27 23:09:10   
                                阅读次数:
296
                             
                         
                    
                        
                            
                            
                                    "Installation failed !" in GUI but not in CLI (/usr/bin/winusb: line 78: 18265 Terminated ) Install log(when running winusbgui as root) P.S. "終止" in t ...
                            
                            
                         
                    
                        
                            
                            
                                2016年12月23日 星期五 --出埃及记 Exodus 21:18"If men quarrel and one hits the other with a stone or with his fist and he does not die but is confined to bed,人若彼 ...
                            
                            
                                分类:
其他好文   时间:
2016-12-25 13:32:10   
                                阅读次数:
182
                             
                         
                    
                        
                            
                            
                                题目链接 设根节点的深度为0,将所有深度为奇数的节点的石子数目xor起来,则先手必胜当且仅当这个xor和不为0。 证明同阶梯博弈。对于偶深度的点上的石子,若对手移动它们,则可模仿操作;对于奇深度上的石子,移动一次即进入偶深度的点。 时空复杂度O(n)。 用vector存搜一下就行。 ...
                            
                            
                                分类:
其他好文   时间:
2016-12-19 11:38:01   
                                阅读次数:
233