上一页 1 ··· 216 217 218 219 220 221 222 223 224 ··· 255 下一页
摘要: 原文:http://www.raywenderlich.com/99473/introducing-react-native-building-apps-javascript 注意:全部图片放在了百度相冊空间,假设你看不到图片,请复制图片URL,然后粘贴到地址栏中进行查看。接着,在styles中添加 阅读全文
posted @ 2017-05-14 21:36 zhchoutai 阅读(342) 评论(0) 推荐(0)
摘要: /********************************************************************** * * Copyright (c)2015,WK Studios * * Filename: A.h * * Compiler: GCC vc 6.0 * 阅读全文
posted @ 2017-05-14 20:50 zhchoutai 阅读(368) 评论(0) 推荐(0)
摘要: Java笔试面试题007 1、请用正則表達式匹配出QQ号(如果QQ号码为5—10位)。 解答: ^ \d{5,10}$ 2、String, StringBuffer StringBuilder的差别。 解答:String的长度是不可变的。 StringBuffer的长度是可变的。假设你对字符串中的内 阅读全文
posted @ 2017-05-14 19:37 zhchoutai 阅读(168) 评论(0) 推荐(0)
摘要: 裸题,上模版,,嘿嘿 #include<stdio.h> #include<string.h> #include<iostream> #include<algorithm> #include<math.h> #include<set> #include<queue> #include<vector> 阅读全文
posted @ 2017-05-14 18:42 zhchoutai 阅读(144) 评论(0) 推荐(0)
摘要: #define max(x,y) ({ \ typeof(x) _x = (x); \ typeof(y) _y = (y); \ (void) (&_x == &_y); \ _x > _y ? _x : _y; }) typeof(x)的意思是取x的类型。这不是标准C里的,gcc支持。vc不支持 阅读全文
posted @ 2017-05-14 18:10 zhchoutai 阅读(239) 评论(0) 推荐(0)
摘要: 转载请注明出处:http://blog.csdn.net/l1028386804/article/details/46622173 开发环境:Eclipse3.2、CDT3.1、MinGW5.1 1、Eclipse及CDT的安装 到Eclipse的官方站点http://www.eclipse.org 阅读全文
posted @ 2017-05-14 16:40 zhchoutai 阅读(3652) 评论(0) 推荐(0)
摘要: 大概题意是要你输出1到n中,可以表示成a^b的数,a,b都是大于0的整数的个数, 当中b大于1。 由于1到n中。可以全然开平方的个数就是(n^0.5)的整数部分。 以此类推能够得到,全然开立方。全然开四次方各种的次数。 这种话,要枚举的数量太大。有什么办法能够让枚举的数量降低呢? 有的,因为随意一个 阅读全文
posted @ 2017-05-14 15:37 zhchoutai 阅读(193) 评论(0) 推荐(0)
摘要: package com.wiseweb.util.security; import java.security.MessageDigest; public class MD5 { public static String Encode(byte[] source) { String s = null 阅读全文
posted @ 2017-05-14 14:59 zhchoutai 阅读(120) 评论(0) 推荐(0)
摘要: 总结:典型的递归题。主要看后面两块。 如果第n-2块有a种方法,第n-1块有b种方法(a<=b)。 若第n-2块和第n-1块颜色一样,则a==b,第n块有3*a种方法; 若第n-2块和第n-1块颜色不同,则第n-2块有a种方法,且第n-1块有b-a种方法。第n块有2*(b-a)种方法。 那么f(n) 阅读全文
posted @ 2017-05-14 13:36 zhchoutai 阅读(272) 评论(0) 推荐(0)
摘要: /** * 跳转至系统相冊 * * @param activity * 活动实例 * @param requestCode * 请求码 */ public static void startSystemAlbumForResult(Activity activity, int requestCode 阅读全文
posted @ 2017-05-14 12:26 zhchoutai 阅读(137) 评论(0) 推荐(0)
上一页 1 ··· 216 217 218 219 220 221 222 223 224 ··· 255 下一页