摘要: 《Qt on Android核心编程》最终尘埃落定。付梓印刷了。 2014-11-02更新:china-pub的预售链接出来了。折扣非常低哦。封面 看看封面的效果吧,历经几版,最终就成了这个样子。 看下封皮: 这是立体版效果:章节内容简单介绍第 1 章 欢迎来到Qt的世界。让我们看看Qt是什么,能给 阅读全文
posted @ 2017-04-16 08:30 zsychanpin 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 题目描写叙述: http://acm.nyist.net/JudgeOnline/problem.php?pid=127 能够证明。修建N-1条虫洞就能够把这N个星系连结起来。 如今。问题来了。皇帝想知道有多少种修建方案能够把这N个星系用N-1条虫洞连结起来? 输入第一行输入一个整数T,表示測试数据 阅读全文
posted @ 2017-04-15 21:09 zsychanpin 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 类string.Formatter类Formatter有以下的公共訪问方法:format(format_string, *args, **kwargs)format()是最主要的API方法。它把參数args和kwargs按格式字符串format_string进行格式化。这个函数仅仅是调用vforma 阅读全文
posted @ 2017-04-15 19:55 zsychanpin 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 所谓的高速排序,就是在一些中,找一个数(如果为a)为基准。把这些数分成两部分。一部分小于等于a,还有一部分大于a。 思路: (1)在这些数中,设置一个指针指向第一个(low),一个指针指向最后一个(high)。设置一个基点(取第一个)为v (2)从高位置high開始。假设*high > v,则hig 阅读全文
posted @ 2017-04-15 19:00 zsychanpin 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Problem Description The new founded Balkan Investment Group Bank (BIG-Bank) opened a new office in Bucharest, equipped with a modern computing environ 阅读全文
posted @ 2017-04-15 17:59 zsychanpin 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1. localhost:proj.android mxhd4$ ./build_native.sh 报错 Compile++ thumb : cocosdenshion_static <= SimpleAudioEngine.cpp /Users/mxhd4/Movies/2.0.4/cocos2 阅读全文
posted @ 2017-04-15 17:36 zsychanpin 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 题目链接:uva 1378 - A Funny Stone Game 题目大意;两个人玩游戏,对于一个序列,轮流操作。每次选中序列中的i,j,k三个位置要求i<j≤k,然后arr[i]减1,对应的arr[j]和arr[k]加1,不能操作的人输,问先手是否必胜。必胜的话给出字典序最下的必胜方案。负责输 阅读全文
posted @ 2017-04-15 16:41 zsychanpin 阅读(303) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<string> #include<list> #include<algorithm> using namespace std; int main(int argc, char *argv[]){ int bedNum; string custo 阅读全文
posted @ 2017-04-15 15:19 zsychanpin 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1、首先看两个样例 (1)进程内 Client端 public class CounterService extends Service implements ICounterService { ...... public class CounterBinder extends Binder { p 阅读全文
posted @ 2017-04-15 13:46 zsychanpin 阅读(1354) 评论(0) 推荐(0) 编辑
摘要: 没有翻译第一章是由于第一章仅仅介绍了怎样设置IDE。这方面网上文章非常多,我就没有翻译,直接从第二章開始。 以下是原文链接。翻译有不正确的地方请朋友们指正。 http://www.rastertek.com/gl40tut02.html Tutorial 2: Creating a Framewor 阅读全文
posted @ 2017-04-15 12:13 zsychanpin 阅读(199) 评论(0) 推荐(0) 编辑