一、GC_Reason 触发垃圾回收的回收的集中原因: 二、Amount freed 回收的内存大小三、Heap stats 空闲内存比例和(活跃对象总数/内存大小)四、External memory stats API 10以下内存分配大小五、Pause time 越大的堆暂停时间越长,并发会显示 ...
分类:
移动开发 时间:
2016-04-05 19:54:39
阅读次数:
196
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2016-04-05 07:06:00
阅读次数:
146
原题链接在这里:https://leetcode.com/problems/coin-change/ 题目: You are given coins of different denominations and a total amount of money amount. Write a func ...
分类:
其他好文 时间:
2016-04-03 13:02:09
阅读次数:
144
题目链接:点击打开链接
题目大意:求给定区间[X,Y]中满足下列条件的整数个数:这个数恰好等于K个互不相等的B的整数次幂之和。例如,设X=15,Y=20,K=2,B=2,则有且仅有下列三个数满足题意:17 = 2^4+2^0,
18 = 2^4+2^1,
20 = 2^4+2^2.
1 ≤ X ≤ Y ≤ 2^31?1,1 ≤ K ≤ 20, 2 ≤ B ≤ ...
分类:
其他好文 时间:
2016-04-01 18:44:36
阅读次数:
147
1,sql小例子 SELECT c.coupon_name,c.coupon_id,c.coupon_value,c.camp_condition,c.issue_amount,c.remain_amount,s.store_name,c.local_coupon_condition,from_un ...
分类:
数据库 时间:
2016-03-30 12:53:30
阅读次数:
123
【功能说明】:磁盘挂载【语法格式】:mount-amount-lmount[-t文件系统][-LLabel名][-o额外选项][-n]装置文件名挂载点【选项参数】:-a:依照配置文件/etc/fstab的数据将所有未挂载的磁盘都挂载上来;-l:单纯的输入mount会显示目前挂载的信息。加上-l可增列Label名称;-t:可..
分类:
系统相关 时间:
2016-03-29 06:33:06
阅读次数:
660
classCGoods{public: voidRegidter(char*m,inta,floatp);private: charmName[NAME_LEN]; intamount; floatprice;};voidCGoods::Regidter(char*m,inta,floatp){ strcpy(mName,m); amount=a; price=p;}intmain(){ CGoodsgood1; good1.Regidter("huanggua",10,2.8); return0;}this..
分类:
编程语言 时间:
2016-03-26 08:24:44
阅读次数:
133
1、什么是sizeof 首先看一下sizeof在msdn上的定义: The sizeof keyword gives the amount of storage, in bytes, associated with a variable or a type (including aggregate
分类:
其他好文 时间:
2016-03-22 10:23:20
阅读次数:
170
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it cost
分类:
其他好文 时间:
2016-03-21 09:25:21
阅读次数:
154
格式: {"name":"小红","amount":"8888","date":"4:32"} public static List<实体类> parseFinancejiluinfo(JSONArray ary) throws Exception{ List<实体类>list=new ArrayL
分类:
移动开发 时间:
2016-03-16 16:47:25
阅读次数:
181