string
_FSMM
这个作者很懒,什么都没留下…
展开
-
【CodeForces 777D】Cloud of Hashtags (模拟+字符串处理)
题目大意:删除最少的字符使字符串成非递减排列 思路:倒着模拟,依次比较删除。(第一次使用了string字符串数组和resize)(get到新技能 #include 万能头函数) #include #define manx 500005 using namespace std; int main() { int n; string s[manx]; cin>>n;原创 2017-02-25 12:31:37 · 427 阅读 · 0 评论 -
【CodeForces 159C】String Manipulation 1.0(字符串处理)
C. String Manipulation 1.0 time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output One popular website developed an u原创 2017-03-22 11:54:23 · 462 阅读 · 0 评论 -
【CodeForces 797C】Minimal string(贪心+字符串)
C. Minimal string time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Petya recieved a gift of a string s with length原创 2017-05-03 07:59:20 · 477 阅读 · 0 评论 -
【CodeFores 798B】 Mike and strings(模拟+string)
B. Mike and strings time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Mike has n strings s1, s2, ..., sn each原创 2017-05-03 21:08:05 · 539 阅读 · 0 评论