Ruby
China
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
pro21ms4
@pro21ms4
Member
NO. 10613 /
2013-12-17
1
Topics
/
2
Replies
0
Followers
0
Following
1
Favorites
No GitHub.
Overview
Topics
Replies
Favorites
Following
Followers
类似 C 中 scanf 的方法 或者 a="1 2 3 4"转 a=[1,2,3,4] 简单的方法?
at
January 04, 2014
2 楼的方法正好适用。
类似 C 中 scanf 的方法 或者 a="1 2 3 4"转 a=[1,2,3,4] 简单的方法?
at
January 04, 2014
["1", "2", "3", "4"] 再用迭代器所有元素 to_i 太麻烦了吧