随笔分类 - 2-3 数据结构 - 栈
摘要:Description 给定两个字符串,求出在两个字符串中各取出一个子串使得这两个子串相同的方案数。两个方案不同当且仅当这两个子串中有一个位置不同。 Input 两行,两个字符串s1,s2,长度分别为n1,n2。1 define ui unsigned int define ll long long
阅读全文
摘要:Description .jpg) Input 一行,一个字符串S Output 一行,一个整数,表示所求值 Sample Input cacao Sample Output 54 HINT 2 define ui unsigned int define ll long long define db
阅读全文
摘要:考试的时候线段树区间查询的return条件打成了l==r。。。。于是光荣爆20(~~线段树都不会打了?~~) 看 "膜博士的题解" cpp include define ui unsigned int define ll long long define db double define ld lo
阅读全文

浙公网安备 33010602011771号