【题目链接:HDOJ-2952】Counting SheepTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2476Accepted Submiss...
                            
                            
                                分类:
其他好文   时间:
2015-05-06 20:57:02   
                                阅读次数:
137
                             
                    
                        
                            
                            
                                1.CPU profiling2015/5/5 19:09:51 1.1 CPU Usage telemetry(利用率)在CPU下的CPU Usage telemetry菜单下可以显示当前CPU利用率CPU性能模式包含了Sampling,tracing,call counting三种模式。当开始监控应用服务器性能的时候,就可以通过CPU分析控制快速才按进行控制了: Sampling模式
定期查询s...
                            
                            
                                分类:
其他好文   时间:
2015-05-05 19:32:27   
                                阅读次数:
315
                             
                    
                        
                            
                            
                                The Counting Problem
Time Limit:3000MS
 
Memory Limit:Unknown
 
64bit IO Format:%lld & %llu
SubmitStatus
Description
Given two integers a and 
b, we write the numbers ...
                            
                            
                                分类:
其他好文   时间:
2015-05-01 17:29:56   
                                阅读次数:
309
                             
                    
                        
                            
                            
                                DescriptionThere arenkangaroos with pockets. Each kangaroo has a size (integer number). A kangaroo can go into another kangaroo's pocket if and only i...
                            
                            
                                分类:
其他好文   时间:
2015-04-27 14:47:15   
                                阅读次数:
128
                             
                    
                        
                            
                            
                                json-c
JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into th...
                            
                            
                                分类:
Web程序   时间:
2015-04-26 00:03:11   
                                阅读次数:
257
                             
                    
                        
                            
                            
                                ARC特点与判断准则/*
 ARC的判断准则:只要没有强指针指向对象,就会释放对象
 1.ARC特点
 1> 不允许调用release、retain、retainCount
 2> 允许重写dealloc,但是不允许调用[super dealloc]
 3> @property的参数
  * strong :成员变量是强指针(适用于OC对象类型)
  * weak :成员变量是弱指针(适用于OC对象...
                            
                            
                                分类:
其他好文   时间:
2015-04-23 11:02:35   
                                阅读次数:
162
                             
                    
                        
                            
                            
                                1) 内存管理机制ObjC中提供了一个机制来实现上面提到的这个逻辑模型,它被称为“引用计数”(retain counting):· 每一个对象都有一个引用计数(retain count)· 对象被创建的时候,引用计数的值是1· 当引用计数值是0的时候,对象将被系统统一销毁· 我们可以通过调用一些方....
                            
                            
                                分类:
其他好文   时间:
2015-04-22 20:11:28   
                                阅读次数:
125
                             
                    
                        
                            
                            
                                The Counting Problem
Time Limit:3000MS     Memory Limit:65536KB     64bit IO Format:%I64d
 & %I64u
Submit Status Practice POJ
 2282
Appoint description: 
System Crawler  (2015-04-15)
De...
                            
                            
                                分类:
其他好文   时间:
2015-04-22 09:44:41   
                                阅读次数:
165
                             
                    
                        
                            
                            
                                在创建项目工程时,ARC(Automatic Reference Counting)是默认开启的,虽然ARC很好用,但有时不得不关闭。比如Xcode中经常需要导入一些外来的代码文件,如果导入的文件没有使用ARC机制而当前项目使用了ARC,Xcode会给出警告或者错误信息,这时就需要关闭或开启ARC功能了。
可采取下面的方式彻底关闭整个工程的ARC
点击项目导航文件--> 选中Targe...
                            
                            
                                分类:
其他好文   时间:
2015-04-21 20:52:17   
                                阅读次数:
252
                             
                    
                        
                            
                            
                                题意:
裸的求可重组合数。
分析:
多项式乘法求系数的应用啊,不用dp。
代码:
//poj 3046
//sep9
#include 
using namespace std;
const int maxN=1024;
const int maxL=100024;
const int mod=1000000;
int num[maxN];
int coef[maxL];
int tm...
                            
                            
                                分类:
其他好文   时间:
2015-04-20 20:59:09   
                                阅读次数:
154