![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STL
MU__LE
这个作者很懒,什么都没留下…
展开
-
Dunglish
题解:这道题用 map 做的话是很简单的,构建两个map<string, int >,一个用来储存正确的翻译个数,一个用来储存储存错误的翻译个数,总的和正确的可以轻松求出,错误的就是总的减去正确的。 如果总方案数为1,正确的也为1, 那么就输出正确的翻译和 correct; 否则输出错误的翻译和 incorrect; #include<cstdio>...原创 2018-08-27 17:17:18 · 205 阅读 · 0 评论 -
Minimal string
Petya recieved a gift of a string s with length up to 105 characters for his birthday. He took two more empty strings t and u and decided to play a game. This game has two possible moves: Extract the...原创 2018-08-24 16:29:01 · 213 阅读 · 0 评论