(1) -lz -lrt -lm -lc都是什么库libzlibrtlibmlibc然后google之压缩库(Z)实时库(real time)数学库(math)标准C库(C lib)可以进入/lib,/usr/lib,可以看到你机器上大多数的libXXXXgoogle之,可以知道它们是什么库(2) ...
分类:
系统相关 时间:
2015-01-28 17:13:21
阅读次数:
386
Cow Bowling
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
The cows don't use actual bowling balls when they go bowling. They ea...
分类:
其他好文 时间:
2015-01-28 16:07:49
阅读次数:
148
create?view?total?
????as?select?s.organization_name,s.name,s.sex,s.identity_card_number,date_format(s.final_into_association_time,‘%Y-%m-%d‘),s.number_of_worked_in_association,(year(now()...
分类:
数据库 时间:
2015-01-28 14:50:52
阅读次数:
180
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
注意
You may n...
分类:
其他好文 时间:
2015-01-28 14:47:27
阅读次数:
197
A Simple Math Problem
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2930 Accepted Submission(s): 1762
Problem Description
Lele now...
分类:
其他好文 时间:
2015-01-28 14:43:30
阅读次数:
152
日志字段格式:
id,ip,url,ref,cookie,time_stamp
把日志文件放到HDFS。仅取了1000行。
hadoop fs -put 1000_log hdfs://localhost:9000/user/root/input
计算PV。
scala> val textFile = sc.textFile("hdfs://localhost:9000/user/ro...
分类:
其他好文 时间:
2015-01-28 14:41:15
阅读次数:
421
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1874题目分析:输入起点和终点,顶点的个数,已连通的边。 输出起点到终点的最短路径,若不存在,输出-1。注意事项:1.可能有多条路径 2.要判断不存在连通路径的情况/*畅通工程续Time Limit: 3...
分类:
其他好文 时间:
2015-01-28 14:28:33
阅读次数:
149
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2059龟兔赛跑Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submissio...
分类:
其他好文 时间:
2015-01-28 14:14:56
阅读次数:
165
Given an integer n, return the number of trailing zeroes in n!.
Note: Your solution should be in logarithmic time complexity.
题目是非常简单的,计算一个数字递归相乘后末尾0的个数
在相乘出现2*5才有可能出现0,2一般是足够的,主要是5的个数,因为是阶乘,...
分类:
其他好文 时间:
2015-01-28 13:06:21
阅读次数:
123
Notes from C++ PrimerInitializationWhen copy a container to another, the containertype and element type must be match at the same time:vector ivec;vec...
分类:
其他好文 时间:
2015-01-28 12:57:37
阅读次数:
157