2008-01-12

Two extractors couldn't work together

关键字: ruby scrubyt
Hi,everyone  I have enjoyed Scrubyt for days and it worked greatly in most case.However,problems came out when scraped urls from Google and Yahoo at the same time.Here is my code: require 'rubygems' require 'scrubyt' Scrubyt.logger = Scrubyt::Logger.new query = 'ruby' google_dat ...
问题: 有一个100层高的大厦,你手中有两个相同的玻璃围棋子。从这个大厦的某一层扔下围棋子就会碎,用你手中的这两个玻璃围棋子,找出一个最优的策略,来得知那个临界层面. 参考答案: One drop allows us to test 1 floor. Two drops can test 3 floors: Test the second floor first. If it breaks, test the first floor with the other ball. If not, test the top floor with either ball. ...
Dustin
  • 浏览: 47628 次
  • 性别: Icon_minigender_1
  • 来自: 广州/成都
  • 详细资料
搜索本博客
最近加入圈子
存档
最新评论