摘要: #include #include #include #include #include #include #include #include #include #include #include #include #define ll long long#defin... 阅读全文
posted @ 2018-07-26 19:25 友人-A 阅读(146) 评论(0) 推荐(0)
摘要: 题目链接:http://codeforces.com/problemset/problem/208/A题意给出一个字符串,将字符串中的WUB给删去,如果两个字母间有WUB,则这两个字母用空格隔开AC代码#include #include #include #inclu... 阅读全文
posted @ 2018-07-26 16:58 友人-A 阅读(207) 评论(0) 推荐(0)
摘要: 题目链接http://codeforces.com/problemset/problem/617/B题意有一个数组,数组中的元素均为0或1 。要求将这个数组分成一些区间,每个区间中的1的个数均为1。问有多少种分法思路将数组中的0全部去掉,用一个数组记录原数组中的每个1... 阅读全文
posted @ 2018-07-26 16:20 友人-A 阅读(197) 评论(0) 推荐(0)
摘要: Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)To... 阅读全文
posted @ 2018-07-26 15:45 友人-A 阅读(210) 评论(0) 推荐(0)