Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ukázka použití funkce:
- /* res = LCS ( "ATAT", "TATA" );
- *
- * res[0] = "TAT"
- * res[1] = "ATA"
- * res[2] = NULL
- */
- /* res = LCS ( "AATCG", "CGGCGA" );
- *
- * res[0] = "CG"
- * res[1] = NULL
- */
- /* res = LCS ( "AAAATCCGCGCGCCACGCT", "ACGCTCAAAATTTTTGCGCG" );
- *
- * res[0] = "ACGCT"
- * res[1] = "AAAAT"
- * res[2] = "GCGCG"
- * res[3] = NULL
- */
- /* res = LCS ( "AAAAAATTTTTTTCCCCCCGGGGGGAAAAAA", "ATCGA" );
- *
- * res[0] = "AT"
- * res[1] = "TC"
- * res[2] = "CG"
- * res[3] = "GA"
- * res[4] = NULL
- */
- /* res = LCS ( "AAAAAAAAA", "TTTTTT" );
- *
- * res = NULL
- */
- /* res = LCS ( "AAA", "AAAA " );
- *
- * res = NULL
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement