mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-09 05:56:06 +00:00
A few improvements to the C code.
This commit is contained in:
@@ -23,7 +23,7 @@ void selectionSort(int nums[], int n) {
|
||||
}
|
||||
}
|
||||
|
||||
/* 主函数 */
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
int nums[] = {4, 1, 3, 1, 5, 2};
|
||||
int n = sizeof(nums) / sizeof(nums[0]);
|
||||
|
||||
Reference in New Issue
Block a user