科迪
根据我在电视上和电影中看到的内容,罗马数字的使用表明某些事情是重要的或复杂的(例如,超级碗,奥运会,电影学分)。但是,谁想打扰试图将它们转化为小数符号呢?我当然不会..因此,问题是要采用带有任意数量的罗马数字的输入字符串阵列,被空间隔开,并返回所得的阿拉伯语版本的数组。注意,由于关于罗马数字符号的一些“现代”规则没有标准化,因此可能有多种表示相同阿拉伯语数字的方法,如下所示:
'xix' - > [19]'iv mmxii liv' - > [4 2012 54]'mdccccccclxxxxxviiii mcmxcix mim' - > [1999 1999 1999]
解决方案127347
Not really my solution... just a slightly cheating version of @bmtran's.
删除所有以“ ain”结尾的单词
1609求解器
回到基础17-空白空间
250 Solvers
进行简化的条形码
143 Solvers
设置值为13至0的数组元素
1162求解器
从9个元素的向量中找出丢失的数字
261 Solvers
回到基础18-辩护
181 Solvers
工具箱的数量?
262求解器
返回基础6-列矢量
971 Solvers
2 B |〜2 b
364求解器
Toolbox check part 3
42 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
选择一个网站
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
您还可以从以下列表中选择一个网站:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
联系您当地的办公室