共享全局变量实例:#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
世界杯揭幕了,有些汉子痴迷于看球冷落了女朋友,丝毫没有意识到女朋友怒了。汉子们,如果你的女朋友说了以下9句话,你可是要警惕了!如果她说“没事”,你可能就摊上大事了!!The other day a friend told me his girlfriend was being very quiet....
分类:
其他好文 时间:
2014-06-15 13:20:44
阅读次数:
394
#includeusing namespace std;struct date{int year;int month;int day;};struct Person{string name;int age;bool gender;double salary;date birth;Person(){c...
分类:
编程语言 时间:
2014-06-15 10:37:12
阅读次数:
207
Description:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is re...
分类:
其他好文 时间:
2014-06-14 19:05:13
阅读次数:
197
题目描述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
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。
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
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-06-14 13:15:06
阅读次数:
199
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job.
You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:
其他好文 时间:
2014-06-14 12:10:26
阅读次数:
253
Apache Spark?is a fast and general engine for large-scale data processing: 一种快速通用可扩展的数据分析引擎。如果想要搞清楚Spark是什么,那么我们需要知道它解决了什么问题,还有是怎么解决这些问题的。
本文将带领你进入Spark的世界,首先阐述了为什么Spark能够在众多的大数据分析平台中脱颖而出:通用,易用,高性能和与Hadoop的有效整合。Spark All in One的解决方案使用一个通用栈解决了流式,交互式,实时查询,迭代...
分类:
其他好文 时间:
2014-06-14 11:57:03
阅读次数:
288