简单、可复制、实践

摘要: 二分法 arr = range(10000000) start = 0 end = len(arr) 1 res = 776575 count = 0 print arr.index(res) while True: count = count+1 mid = (start+end)/2 if ar 阅读全文
posted @ 2016-07-14 11:41 若水天涯 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: What is the difference between HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR? it is impossible to say. Different proxies may implement these, or may not. Th 阅读全文
posted @ 2016-07-14 09:31 若水天涯 阅读(224) 评论(0) 推荐(0) 编辑