6.4 map
mp的使用方法
小魚兒.
天下皆白,唯我独黑!
展开
-
6.4 PAT A1071 Speech Patterns (25分)(字符串分割&map使用)
1071 Speech Patterns (25分) People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzing such patterns can h...原创 2020-04-13 16:03:16 · 154 阅读 · 0 评论 -
6.4 PAT A1054 The Dominant Color (20分)(map 用法)
1054 The Dominant Color (20分) Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color with the largest pr...原创 2020-04-13 15:37:26 · 108 阅读 · 0 评论 -
6.3 PAT A1100 Mars Numbers (20 分)(map使用,字符串——数字的映射)
1100 Mars Numbers (20 分) People on Mars count their numbers with base 13: Zero on Earth is called "tret" on Mars. The numbers 1 to 12 on Earth is called "jan, feb, mar, apr, may, jun, jly, aug, sep...原创 2019-09-20 16:10:59 · 144 阅读 · 0 评论