首先看看下面的图,看清楚了图咱们要说的知识点也就说说清楚了一半
int a=10;
String b="ss";
String c=new String("kkk");
Person d=new Person("dlf");
String e=new String("kkk");
String f="ss";
jvm中有堆heap,栈stack,常量池constant...
分类:
其他好文 时间:
2014-10-10 19:14:44
阅读次数:
219
题目大意:给定一棵树(直接给树,不是给图求生成树!),求每条边权值*两边点数之差的和
BFS水过即可
其实DFS也能过。。。系统栈可能有些不充裕,我们可以利用内嵌汇编手动开大系统栈 详见代码
这题读入优化可以优化掉4s左右
#include
#include
#include
#include
#define stack_size (20001000)
#define M 1001001
...
分类:
其他好文 时间:
2014-10-10 18:45:30
阅读次数:
139
emp_back
user
UserInfo
com.employee.login.UserHome
com.employee.login.User
com.employee.login.UserBean
Container
java.lang.String
false
UserInfo
id
name
pass...
分类:
数据库 时间:
2014-10-10 16:36:54
阅读次数:
229
当文件夹路径从n层按back键退回到n-19层的时候,file manager自动退出,比如在63层按back 键退回到44层的时候,file manager自动退出。
1.FileManager默认设计, FileManager种只记录最多20条操作路径的记录, 如果超出就会把最早加入的记录删除. 贵司可以参考alps/mediatek/packages/apps/FileManager...
分类:
移动开发 时间:
2014-10-10 12:43:24
阅读次数:
220
/*
学习心得:
1、 此栈用链表实现,与上面的用数组实现不一样;用到了模板类Stack
2、 此类用到了复制构造函数 Stack(const Stack &original),运算符重载函数
Stack& operator = (const Stack &original)
3、 初始化的默认构造方式Stack():top(NULL) {},记住类中声明的函数不可以有函数体的,
但是空函数体(只有{})是可以的...
分类:
编程语言 时间:
2014-10-10 12:08:34
阅读次数:
597
Nice Patterns Strike Back
Time Limit: 20000/10000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)
SubmitStatisticNext
Problem
Problem Description
You might have noticed t...
分类:
其他好文 时间:
2014-10-10 10:01:55
阅读次数:
188
创建定时任务: 1 root@xxj-VirtualBox:~# crontab -l 2 # Edit this file to introduce tasks to be run by cron. 3 # 4 # Each task to run has to be defined throu....
分类:
其他好文 时间:
2014-10-10 02:26:23
阅读次数:
174
The real problem with concurrency occurs when tasks that are executing in parallel begin to interface with each other. This can happen in such a subtl...
分类:
其他好文 时间:
2014-10-10 01:52:23
阅读次数:
167
using System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Text;using System.Threading.Tasks;using Newtonsoft....
Liunx:static void Main(string[] args) { try { string[] groups = new string[] { "Admin", "Back_End", "CSharp", "Developer", "Faserati",...
分类:
其他好文 时间:
2014-10-09 23:02:21
阅读次数:
204