LeetCode - Maximum Depth of Binary Tree

    Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 28, 2015

Play Minecraft on Ubuntu

在Ubuntu上玩Linux前言windows上的MC玩起来方便,不管是服务器端还是客户端,都有很多大神打造的启动器,开服器,可在Linux上,这些工具就少了些,并且经常会出错。网上的很多资料大多是针对经典的旧版,我会介绍一种简单的方法在Ubuntu Linux上玩起MC1.8。 工具 MinecraftSP.jar Hello Minecraft Launcher 2.2.1 Minecraft 1.8 纯净客户端 OpenJDK 7     Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 11, 2015

HDOJ - 1002 A + B Problem II

A + B Problem IIAC了半天,老是一些细节没注意。 Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of two positive integers, A and B. Notice that the integers are very large, that means you should not process them by using 32-bit integer. You may assume the length of each integer will not exceed 1000. OutputFor each test case, you should output two lines. The first line is “Case #:”, # means the number of the test case. The second line is the an equation “A + B = Sum”, Sum means the result of A + B. Note there are some spaces int the equation. Output a blank line between two test cases.     Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 03, 2015