解题思路: 由于扑克牌大小顺序不按照字典序,所以按顺序存在数组里,当需要比较的时候,比一下位置先后就可以了 use std::io; fn compare(l: &str, r: &str) -> bool { let order = ["3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A", "2", "joker", "JOKER",]; let (mut left, mut right) = (0usize, 0usize); for (index, &s) in or...