摘要:
bounce2d2.c 1 /* 2 * bounce2d 1.0 3 * bounce a character (default is 'o') around the screen 4 * defined by some parameters 5 * user input: s... 阅读全文
posted @ 2015-07-12 16:48
Ryan in C++
阅读(571)评论(0)推荐(0)
摘要:
一、排序 ref quicksort及partition相关问题1. quicksortcode1:[首选] 1 int partition(vector &arr, int low, int high) 2 { 3 int pivot = arr[low]; 4 int i = l... 阅读全文
posted @ 2015-04-28 08:21
Ryan in C++
阅读(382)评论(0)推荐(0)