Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

一直WA,最后竟发现是及其低级之错!俺用char存储状态数组,我没想到会超256,本想省内存,结果莫名其妙的WA

Posted by andy_lee at 2007-12-11 20:38:46 on Problem 1080
In Reply To:越想越复杂 好像需要DP求出所有的公共子序列 Posted by:andy_lee at 2007-12-11 00:54:06
给大家些数据,我随机生成的,后来的兄弟们如果过不了,可是对比一下
10
86 ATCGTAGGGATGCACTGAAAAATTTTGCTATTCTTACTGTTAATACCGCGTAAGTACACCAGGCACTTACGTCACTTCACACAGCT
94 AAACATTATTGGAGTTGGCGACGACTATCGGTTCAACCAACGCAGTTCCAAGATTTTAATTTCAACCCGCTTGTAGGTAGAACAGGGCTCGATA
86 CCGCGCTGCTGCAATCCGGCGAAATTTCTATTGCGGCCATCTGTTCATTGAGAAATGAGGAAACACAGCATGACCGCAATAGAAGG
80 TGAAGGGAATGTTGCATGCGGACTTATTATAGCAGGATGGACGGAAGTCCCATACCATTGAATGTGTGCGTGCCACTAGT
92 TTACATCGTAGTCTTTCAGGTCATAGCTACTGGATAAAGAAGGGCAAGCACTACTAACACGGTAGGGTCAATACACCAACAGTAAATACGTT
83 TACGGTCATATTGAAATAACTGCAGGTACTCGACAGTAGTTTCAAGAAACCCTTCATTTACAAAAGCTGAAAGGAGATATTCC
83 CGGAGAACCAGCTGGCTCATATTGCGTTGGACAGGATCTCGTTTGCCCACGACGCTACATCATATTCAGCACTCACTCAAAAG
81 AGTGTGAGTACTAGAAAACTAGGCCGTATTCAACAGAGGCTATATGTAGGCTCATTTCTGTCTCTGGAACCGAGGGAGCTA
84 CACCGTTAAAGGTCCGAGGGATTCATTCTGAGATGACCCCGTGCAACGACAGTATGCTCCCCTTCGATCTAACGAGGCGTTTCA
96 TAAATAGACGGGTAGGCAGGCGTCAAATTTGATCGGGGACCCCTAGGGAGGGAGGATAGTAACTAAGTTCGGCAGTTCGGACCAATTCTACAAGCA
87 TGTAATGCGCGATCTTGCTCGTTAACGAAAGGCTGCGAGCACACTCAAGCTGAGCCTACGAAACAATCCTGCGACCTCATCTCATCC
80 CGTAAACAAGCACACTAGCGTCGTCTTCCTACCTTATATACAACCCAACGCCCTCCTCACCACTTGTGTTCCACTACAAT
82 TTCCATTTTATCGTCAGATGAATAGGCCATTTAGGAAATTTACATTTGGCATTGCAAGAGTACGGCTTTTACTCGATCGCCG
99 TGAATATTGTTGGCTTCTACGGCATTGCCAGATACTATCCGCGGTGGCGGTAAGGGCTGAATCTTGTGGACGAGAACTAGGCCAGTGAAAAATTTCTAG
90 TCGGAATTCATGGGAGCTTGTAGAAAAGAAGAAAATTAAGTAGTTGTGATACTGCCGTACCACCTGAACCATCAACAACTGCAACCGCTC
84 CGTCCGAGTGTCGCTAACGGTTTGGACTACATATGTGGGTGAACAGCGTAGGATCATGACCAGGCATCGACCACGCATGCCCCG
99 ATTCGGAGACATAACAACAATCCGAAAACACTCAGTGCTATGGCGCGTCGCGTCAGTGTCTCGACTTCACACCAGGACGCACGTGCGATAGAGCAGTTT
95 GCATTAGACGCGTGACTAGGAAATATCCTGTCCTGTAGTAGAAATCACCCCGGCGAAGACATATGTATATAAGCCTCGGATGGAATACGCGTCTA
92 GCAAGTGGACGATAGTCATATGTAATAGCCGCCTTGCACCACAGGCTTTCTCGAATGATCTTGCAGAATGAAATTAGTAAATTCCTCAACTC
92 TCGTTCGGAAATCTCCTCCCCTGCTTCGGTGCAATACTCGCCGGAAAGGTGAGCGCATTGACAATGAAAGGTTGTGCATTAACAAACTACAG
0


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator