k代表初始字串Word的長度q代表重新排列的次數r代表輸出重新排列字串的次數sortedWords用來存放q個已經重新排列好的字串
4/2/2024n是資料數量先初始化timeList和scoreList串列,用迴圈把每一項資料用append加入如此一來,當索引是k的時候,對到的scoreList[k]資料就是在timeList[k]的時候送出的,不用怕會亂掉
4/2/2024簡單的例子介紹物件導向的觀念
3/27/2024https://zerojudge.tw/ShowProblem?problemid=j124https://zerojudge.tw/ShowImage?id=2500
1/9/2024or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up