array(4) { [0]=> string(18) "[#2] Cheap tourist" [1]=> string(14) " fast tourist/" [2]=> string(1) "0" [3]=> string(21) "2017-11-21 14:48:36 " } array(4) { [0]=> string(18) "[#2] Cheap tourist" [1]=> string(43) " fast tourist/cheap_tourist_fast_tourist.rb" [2]=> string(4) "5055" [3]=> string(21) "2017-11-21 14:48:36 " } array(4) { [0]=> string(18) "[#2] Cheap tourist" [1]=> string(23) " fast tourist/input.txt" [2]=> string(4) "8117" [3]=> string(21) "2017-11-21 14:48:36 " } array(4) { [0]=> string(18) "[#2] Cheap tourist" [1]=> string(30) " fast tourist/sample-input.txt" [2]=> string(3) "234" [3]=> string(21) "2017-11-21 14:48:36 " } array(4) { [0]=> string(18) "[#2] Cheap tourist" [1]=> string(31) " fast tourist/sample-output.txt" [2]=> string(2) "77" [3]=> string(21) "2017-11-21 14:48:36 " } PuzzleNode-Solutions 联合开发网 - pudn.com
PuzzleNode-Solutions

所属分类:编程语言基础
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2017-11-21 22:48:37
上 传 者sh-1993
说明:  Ruby中的PuzzleNode编程挑战解决方案,
(Solutions in Ruby to the PuzzleNode programming challenges,)

文件列表:
[#10] All Wired Up/ (0, 2017-11-21)
[#10] All Wired Up/all_wired_up.rb (1877, 2017-11-21)
[#10] All Wired Up/complex_circuits.txt (42501, 2017-11-21)
[#10] All Wired Up/simple_circuits.txt (441, 2017-11-21)
[#10] All Wired Up/simple_output.txt (10, 2017-11-21)
[#11] Hitting Rock Bottom/ (0, 2017-11-21)
[#11] Hitting Rock Bottom/complex_cave.txt (8915, 2017-11-21)
[#11] Hitting Rock Bottom/hitting_rock_bottom.rb (938, 2017-11-21)
[#11] Hitting Rock Bottom/simple_cave.txt (269, 2017-11-21)
[#11] Hitting Rock Bottom/simple_out.txt (64, 2017-11-21)
[#12] Secret Messages/ (0, 2017-11-21)
[#12] Secret Messages/complex_cipher.txt (963, 2017-11-21)
[#12] Secret Messages/secret_messages.rb (1586, 2017-11-21)
[#12] Secret Messages/simple_cipher.txt (252, 2017-11-21)
[#12] Secret Messages/simple_out.txt (243, 2017-11-21)
[#1] International trade/ (0, 2017-11-21)
[#1] International trade/RATES.xml (597, 2017-11-21)
[#1] International trade/SAMPLE_OUTPUT.txt (7, 2017-11-21)
[#1] International trade/SAMPLE_RATES.xml (318, 2017-11-21)
[#1] International trade/SAMPLE_TRANS.csv (141, 2017-11-21)
[#1] International trade/TRANS.csv (242597, 2017-11-21)
[#1] International trade/international_trade.rb (3634, 2017-11-21)
[#1] International trade/round_half_even.rb (2082, 2017-11-21)
[#3] Spelling suggestions/ (0, 2017-11-21)
[#3] Spelling suggestions/INPUT.txt (1052, 2017-11-21)
[#3] Spelling suggestions/SAMPLE_INPUT.txt (75, 2017-11-21)
[#3] Spelling suggestions/SAMPLE_OUTPUT.txt (25, 2017-11-21)
[#3] Spelling suggestions/spelling_suggestions.rb (2935, 2017-11-21)
[#4] Robots vs. Lasers/ (0, 2017-11-21)
[#4] Robots vs. Lasers/input.txt (30199, 2017-11-21)
[#4] Robots vs. Lasers/robots_vs_lasers.rb (1228, 2017-11-21)
[#4] Robots vs. Lasers/sample-input.txt (83, 2017-11-21)
[#4] Robots vs. Lasers/sample-output.txt (24, 2017-11-21)
[#5] Counting Cards/ (0, 2017-11-21)
... ...

# PuzzleNode Solutions My solutions in Ruby to the first 12 [PuzzleNode programming challenges](http://www.puzzlenode.com/). I'm currently on the [leaderboard](http://www.puzzlenode.com/leaderboard) (look for Steve Morris). ## Hints To efficiently solve many of these challenges, you'll need to be comfortable with both recursion and graph theory. I found [this article](http://www.python.org/doc/essays/graphs) extremely helpful for implementing graphs (translating the Python code to Ruby was straightforward). ## Requirements Ruby 1.9.2 Gems required by one or more solutions: * RSpec (`gem install rspec`) * Nokogiri (`gem install nokogiri`)

近期下载者

相关文件


收藏者