题解列表

筛选

几种常见的排序

摘要:解题思路:冒泡,直接调用sort函数(快排)注意事项:循环的意义以及范围大小参考代码:冒泡法:#include#include#include#includeusing namespace std; ……

平淡无奇的解法

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){    double pro,bon;    double bon1=1*……