ソースを参照

Name the function, which has to be implemented.

Michael Mächtel 8年前
コミット
fba7c99b7b
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      hw2/task1/README.md

+ 2
- 1
hw2/task1/README.md ファイルの表示

@@ -6,7 +6,8 @@ Run the cargo command to prepare your task1/ directory as a library
6 6
 
7 7
 ## task
8 8
 
9
-Calculate the Hamming difference between two DNA strands.
9
+Calculate the Hamming difference between two DNA strands by implementing 
10
+the library function *hamming_distance(s1: &str, s2: &str) -> Result<usize, String>*.
10 11
 
11 12
 A mutation is simply a mistake that occurs during the creation or
12 13
 copying of a nucleic acid, in particular DNA. Because nucleic acids are

読み込み中…
キャンセル
保存