共享全局变量实例:#include #include #include #include int key=100;void *helloworld_one(char *argc){ printf("the message is %s\n",argc); key=10; printf...
分类:
编程语言 时间:
2014-06-19 06:19:28
阅读次数:
494
由于EBS form界面有一个报错,是一个小bug,以下打一个小patch修补一下。【以下的过程没有停库】解压p8496830_111070_Linux-x86-64.zipcd 8496830$ORACLE_HOME/OPatch/opatch apply -invPtrLoc /u01/ERPT...
分类:
数据库 时间:
2014-06-18 22:57:28
阅读次数:
409
linux下Oracle11g RAC搭建(六)
五、校验安装前的环境
root身份下完成解压grid、database安装包
[grid@node1 soft]$ su -
Password:
[root@node1 ~]# cd /soft
[root@node1 soft]# ls
asm linux_11gR2_database_1of2.zip lin...
分类:
数据库 时间:
2014-06-15 15:30:03
阅读次数:
714
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
Follow up:
Can you solve it without using extra space?
思路:由【Leetcode】Linked
List Cycle可知,利用一快一慢...
分类:
其他好文 时间:
2014-06-15 14:23:38
阅读次数:
288
初始化异步树直接全部展开代码:
$(function(){
$('#tt').tree({
url:'/treeInit',
lines:true,
onLoadSuccess:function(node,data){
var t = $(this);
if(data){
$(data).each(f...
分类:
其他好文 时间:
2014-06-15 13:30:02
阅读次数:
242
http://www.prahladyeri.com/2014/06/php-vs-node-js-real-statistics/
在网络编程领域,常用的解决方案就是JSP(SSH)、ASP.NET、PHP加上LAMP这种架构。不过,现在这个大家庭加入了NodeJS,这个轻量级的基于JavaScript服务端库的平台可以使用异步I/O的方式来提升整体的性能。
I/O操作是网络传输中占用...
分类:
Web程序 时间:
2014-06-15 10:48:34
阅读次数:
384
题目描述You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold coin weighs w grams. In t...
分类:
其他好文 时间:
2014-06-14 16:22:52
阅读次数:
191
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:
其他好文 时间:
2014-06-14 15:48:59
阅读次数:
217
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the...
分类:
其他好文 时间:
2014-06-14 15:08:00
阅读次数:
224
#include
#include
using namespace std;
struct Node{
int x, y;
friend bool operator b.x; //x最小的节点在队首
}
};
int main(){
priority_queue PQ;
Node temp = {2, 3};
PQ...
分类:
其他好文 时间:
2014-06-14 14:03:20
阅读次数:
355