文章已搬家,請點擊前往👈

 

 

 

 

路徑:Tournament \ 1-16 \ 2 - Inv 2001 Semi A+B \ MatchMaker

分數:250

題目

程式介面

Class Name: MatchMaker
Method Name: getBestMatches
Paramaters: String[], String, int
Returns: String[]
Method signature: 
String[] getBestMatches(String[] members, String currentUser, int sf);

說明

線上交友網站需要透過程式來自動找出條件匹配的對象,會員會先輸入一些資料做為依據,當會員要求配對時,程式會回傳一個符合的對象清單,對象的符合項目必須大於等於設定的相似度(similarity factor)。現在程式會先輸入會員資料、目前會員和相似度,會員資料如下格式:

arrow
arrow
    文章標籤
    TopCoder MatchMaker C#
    全站熱搜

    emn178 發表在 痞客邦 留言(0) 人氣()