![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hash
jetpack_
这个作者很懒,什么都没留下…
展开
-
【PAT】A1050 String Subtraction (20分)--字符(串)hash
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, it might not原创 2020-06-09 18:25:13 · 102 阅读 · 0 评论 -
【PAT】1092 To Buy or Not to Buy (20分)---简单字符(串)hash
1092 To Buy or Not to Buy (20分)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 sell the strings in whole p原创 2020-06-09 17:28:53 · 76 阅读 · 0 评论 -
【PAT】A1084 Broken Keyboard (20分)--简单字符(串)hash
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 type, and原创 2020-06-09 17:03:18 · 87 阅读 · 0 评论