
散列
逃课去学习:)
读万卷书,行万里路。
展开
-
PAT(散列)——1048 Find Coins (25 分)
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payments. However,...原创 2019-01-30 12:00:01 · 226 阅读 · 0 评论 -
PAT(散列)——1050. String Subtraction (20)
Given two strings S1 and S2, S = S1 – S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to calculate S1 – S2 for any given strings. However, i...原创 2019-01-30 12:18:10 · 120 阅读 · 0 评论 -
PAT(散列)——1092. To Buy or Not to Buy (20)-PAT甲级真题
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of beads. However the owner of the shop would only sel...原创 2019-01-30 14:29:46 · 140 阅读 · 0 评论 -
PAT(散列)——1084. Broken Keyboard (20)
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a string that you are supposed to ...原创 2019-01-30 14:53:17 · 150 阅读 · 0 评论