We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
這題就是給一個可以 nc 連進去的 ip + port,進去之後就會問你兩個問題
第一題是河內塔的移動次數,會給一個陣列,經過觀察之後只要求出2^陣列長度就好,我到現在還是不知道陣列內容是要幹嘛的
解完之後第二題是逆序數對數量,偷懶直接 O(n^2) 就行了
手動算會累死所以寫了一個腳本但我忘記放哪了...找到再補回來
The text was updated successfully, but these errors were encountered:
No branches or pull requests
這題就是給一個可以 nc 連進去的 ip + port,進去之後就會問你兩個問題
第一題是河內塔的移動次數,會給一個陣列,經過觀察之後只要求出2^陣列長度就好,我到現在還是不知道陣列內容是要幹嘛的
解完之後第二題是逆序數對數量,偷懶直接 O(n^2) 就行了
手動算會累死所以寫了一個腳本但我忘記放哪了...找到再補回來
The text was updated successfully, but these errors were encountered: