Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
思路加数据三步走:字符串转换、建Trie图、去掉子串 数据: 100 1 AA A 输出:0 8 B CB ACB DACB D DA DAC DACB DACB 输出:1 3 A B C ABCC 输出:3 2 [2A]B [3A]B [5A]B[4A]B 输出:1 2 AB DCB DABC 输出:1 3 A AB ABC DABC 输出:1 3 AB CD EF ABCDEF 输出:3 26 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ABCDEFGHIJKLMNOPQRSTUVWXYZ 输出:26 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator