1. 常用控制台工具console.log console.info console.error console.warnconsole.assertconsole.countconsole.dirconsole.time console.timeEndconsole.profileconsole....
分类:
其他好文 时间:
2015-01-12 16:02:03
阅读次数:
101
1 /*字段 属性 2 * User: YuanWei 3 * Date: 2015/1/11 4 * Time: 20:03 5 * 先有封装,然后才有继承,最后才能谈多态 6 * 多态意味着一个方法或类型可以有多种形式的实现 7 * 方法多态:new virtual ...
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.Credits:Special thanks to@tsf...
分类:
其他好文 时间:
2015-01-12 14:25:06
阅读次数:
126
#include #include void main () { time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ( "\007The curre.....
分类:
其他好文 时间:
2015-01-12 14:18:18
阅读次数:
315
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2015-01-12 14:17:39
阅读次数:
207
Accepted : 21
Submit : 171
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
ABK是一个比A+B还要简单的题目,给出两个整数A,B,求出A和B的第K大公约数。
输入
第一行是一个整数N(N ≤ 10000),表示样例的个数。 以后每行一个样例,为3个整数A,B,K (1≤A...
分类:
其他好文 时间:
2015-01-12 13:01:04
阅读次数:
137
ps -aux显示所有包含其他使用者的行程aux 输出格式 :USER PID %CPU %MEM VSZ RSS TTY STAT STARTTIMECOMMANDUSER: 行程拥有者PID: pid%CPU: 占用的 CPU 使用率%MEM: 占用的记忆体使用率VSZ: 占用的虚拟记忆体大小R...
分类:
其他好文 时间:
2015-01-12 12:45:53
阅读次数:
271
1105: 喵喵的拆分集合
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 37 Solved: 8
[Submit][Status][Web
Board]
Description
众所周知,DoubleQ是DS(Data Structure)粉,她最爱DS了。现在她要实现一个神奇的DS,支持下列两个操作:
-删除某...
分类:
其他好文 时间:
2015-01-12 11:37:36
阅读次数:
208
新生赛:
Accepted : 15
Submit : 243
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
上次趣味赛小明的a+b坑了不少不喜欢思考的同学,小明为了表示歉意, 这次出了道简单的a+b给大家当签到题,希望大家能开心刷题。 那么,题目来了!!!
求使得b/(a+...
分类:
其他好文 时间:
2015-01-12 11:35:04
阅读次数:
209
Encoding
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28533 Accepted Submission(s): 12642
Problem Description
Given a string contai...
分类:
其他好文 时间:
2015-01-12 10:58:17
阅读次数:
135