Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.64 KB | None | 0 0
  1. Ukázka použití funkce:
  2.  
  3. /* res = LCS ( "ATAT", "TATA" );
  4.  *
  5.  * res[0] = "TAT"
  6.  * res[1] = "ATA"
  7.  * res[2] = NULL
  8.  */
  9.  
  10. /* res = LCS ( "AATCG", "CGGCGA" );
  11.  *
  12.  * res[0] = "CG"
  13.  * res[1] = NULL
  14.  */
  15.  
  16. /* res = LCS ( "AAAATCCGCGCGCCACGCT", "ACGCTCAAAATTTTTGCGCG" );
  17.  *
  18.  * res[0] = "ACGCT"
  19.  * res[1] = "AAAAT"
  20.  * res[2] = "GCGCG"
  21.  * res[3] = NULL
  22.  */
  23.  
  24. /* res = LCS ( "AAAAAATTTTTTTCCCCCCGGGGGGAAAAAA", "ATCGA" );
  25.  *
  26.  * res[0] = "AT"
  27.  * res[1] = "TC"
  28.  * res[2] = "CG"
  29.  * res[3] = "GA"
  30.  * res[4] = NULL
  31.  */
  32.  
  33. /* res = LCS ( "AAAAAAAAA", "TTTTTT" );
  34.  *
  35.  * res = NULL
  36.  */
  37.  
  38. /* res = LCS ( "AAA", "AAAA " );
  39.  *
  40.  * res = NULL
  41.  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement