anagram:懒洋洋的时代 源码
字谜 字谜实用程序功能的集合 安装 您可以通过将其添加到Cargo.toml文件中来安装此板条箱 anagram = "0.3.0" 例子 use anagram :: {count, get_next, is_anagram, occurences}; fn main () { // count how many anagrams can be formed from a given word let anagram_count = count ( "ordeals" ); assert_eq! (anagram_count, 5040 ); // count the number of occurences of an anagram in a given word let occur = occurences ( "helloworldhello" , "ll"
用户评论