python提供了time模块,用它可以得到任何想得到的时间,随心所欲不越矩。...
分类:
其他好文 时间:
2014-06-30 11:01:26
阅读次数:
125
Easy Finding
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 15668
Accepted: 4163
Description
Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i
Input
There ar...
分类:
其他好文 时间:
2014-06-30 08:35:45
阅读次数:
215
D - Rope in the Labyrinth
Time Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice URAL
1145
Description
A labyrinth with rectangular form...
分类:
其他好文 时间:
2014-06-30 08:14:14
阅读次数:
277
Bob’s Race
Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2115 Accepted Submission(s): 658
Problem Description
Bob wants to hol...
分类:
其他好文 时间:
2014-06-30 07:37:16
阅读次数:
284
题目
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time
complexity should be O(log (m+n)).
方法
转换为寻找第k大的数。
...
分类:
其他好文 时间:
2014-06-30 06:05:58
阅读次数:
261
rt 稳定婚姻匹配问题
The Stable Marriage Problem
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)
Total Submission(s): 438 Accepted Submission(s): 222
Proble...
分类:
其他好文 时间:
2014-06-30 00:35:18
阅读次数:
257
JAVA大数....
Integer Inquiry
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 12042 Accepted Submission(s): 3037
Problem Descript...
分类:
其他好文 时间:
2014-06-30 00:18:48
阅读次数:
235
3622: 已经没有什么好害怕的了
Time Limit: 10 Sec Memory Limit: 256 MB
Submit: 7 Solved: 6
[Submit][Status]
Description
Input
Output
Sample Input
4 2
5 35 15 45
40 20 10 30
Sampl...
分类:
其他好文 时间:
2014-06-29 22:28:01
阅读次数:
325
Python实现抓取网页
下面的Python抓取网页的程序比较初级,只能抓取第一页的url所属的页面,只要预定URL足够多,保证你抓取的网页是无限级别的哈,下面是代码:
##coding:utf-8
'''
无限抓取网页
@author wangbingyu
@date 2014-06-26
'''
import sys,urllib,re,thread,time,thr...
分类:
编程语言 时间:
2014-06-29 22:15:45
阅读次数:
395
Sudoku
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8152
Accepted: 2862
Description
In the game of Sudoku, you are given a large 9 × 9 grid divided in...
分类:
其他好文 时间:
2014-06-29 22:07:32
阅读次数:
279