摘要: 又这么多天的训练下来了: 硬性要求自己做到: ①遇到模板题不管记得不记得在结束之后都要重新打一遍,直到很熟练,好代码打几十遍都不为过(今天的表达式求值就是个模板题,我还错了三次,hhh) 还有每次打完一次打过的学过的代码又会有新的收获,因为一直在学习嘛,不同阶段不同感受不一样,对代码的理解也会更深 阅读全文
posted @ 2022-02-16 19:18 小志61314 阅读(103) 评论(0) 推荐(0)
摘要: 给定两个长度分别为 NN 和 MM 的字符串 AA 和 BB,求既是 AA 的子序列又是 BB 的子序列的字符串长度最长是多少。 输入格式 第一行包含两个整数 NN 和 MM。 第二行包含一个长度为 NN 的字符串,表示字符串 AA。 第三行包含一个长度为 MM 的字符串,表示字符串 BB。 字符串 阅读全文
posted @ 2022-02-16 18:48 小志61314 阅读(63) 评论(2) 推荐(0)
摘要: 题目描述 Snuke and Raccoon have a heap of N cards. The i-th card from the top has the integer ai written on it.They will share these cards. First, Snuke w 阅读全文
posted @ 2022-02-16 15:14 小志61314 阅读(42) 评论(0) 推荐(0)
摘要: Not Found You are given a string S consisting of lowercase English letters. Find the lexicographically (alphabetically) smallest lowercase English let 阅读全文
posted @ 2022-02-16 13:14 小志61314 阅读(32) 评论(0) 推荐(0)