随笔分类 - 字符串
摘要:C. Zebras time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output C. Zebras time limit per test 1
阅读全文
摘要:C. A Twisty Movement time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. A Twisty Movement
阅读全文
摘要:比赛地址:http://codeforces.com/contest/955 A. Feed the cat time limit per test 1 second memory limit per test 256 megabytes input standard input output st
阅读全文
摘要:题目描述 已知有两个字串 A, B 及一组字串变换的规则(至多6个规则): A1 -> B1 A2 -> B2 规则的含义为:在 A$中的子串 A1 可以变换为 B1、A2 可以变换为 B2 …。 例如:A='abcd'B='xyz' 变换规则为: ‘abc’->‘xu’‘ud’->‘y’‘y’->
阅读全文