服务器压力测试。。。。node环境下的多机器人跑...
                            
                            
                                分类:
其他好文   时间:
2014-05-27 03:17:51   
                                阅读次数:
169
                             
                    
                        
                            
                            
                                Interesting Calculator
CSU 过了 TOJ超时了 先记一下
#include 
#include 
#include 
using namespace std;
int a[100];
bool b[100010];
int c[100010];
int d[100010];
int x, y;
int cas = 1;
struct node
{
	int x, t,...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 12:42:02   
                                阅读次数:
249
                             
                    
                        
                            
                            
                                #include 
//#include 
using namespace std; 
   
struct node 
{  
    char word[10]; 
    int num; 
}; 
node obj[100]; 
 
void my_word(char input[], char output[]) 
{ 
   int sum=0,flag=0;...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 12:41:25   
                                阅读次数:
233
                             
                    
                        
                            
                            
                                Remove Nth Node From End of List删除链表倒数的第N个元素...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 11:15:52   
                                阅读次数:
170
                             
                    
                        
                            
                            
                                //3、假定有20个  有序   数组,每个数组有500个数字,数字类型32位uint数值,现在需要取出这10000个数字中最大的500个,怎么做? 
#include 
using namespace std; 
struct node 
{ 
int data; 
int next; 
}; 
node obj[20]; 
void sift(int k,int m,int ...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 10:54:48   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                完全按照海涛哥剑指offer里边的递归思路来写的,基本一样,仅作学习验证,努力锻炼,努力学习!code如下:
//Change a BSTree to a sorted double linklist
struct BSTreeNode 
{
	int value;
	BSTreeNode *left;
	BSTreeNode *right;
}head;
//Create a node of...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 10:23:27   
                                阅读次数:
237
                             
                    
                        
                            
                            
                                出题:反转链表(递归和非递归解法);分析:有递归跟非递归实现,注意对原始链表头节点的处理,因为其他节点都指向下一个节点,其需要指向NULL;解题: 1 
struct Node { 2 int v; 3 Node *next; 4 }; 5 Node* NonRecur...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 05:20:04   
                                阅读次数:
310
                             
                    
                        
                            
                            
                                WindowsAzure目前在全球有八大数据中心(美国西部,美国东部,美国中北部,美国中南部,北欧,西欧,东亚,南亚)。还有中国南北两个数据中心。每个数据中心都由若干个"容器"组成,"容器"的内部是集群(cluster)和机架(rack)。每一个容器都有特定的服务,比如计算和存储,SQLDatab..
                            
                            
                         
                    
                        
                            
                            
                                #include 
#include 
using namespace std; 
struct node  
{ 
int shi; 
int xu; 
int data; 
}; 
int main() 
{ 
    int shinum=0; 
    int xunum=0; 
    int n; 
    cin>>n; 
    node*num=ne...
                            
                            
                                分类:
其他好文   时间:
2014-05-20 15:28:05   
                                阅读次数:
256