Skip to content

Commit

Permalink
Merge pull request Light-City#78 from daidai21/master
Browse files Browse the repository at this point in the history
DEBUG 函数模板 sort() 错误  ISSUE Light-City#73
  • Loading branch information
Light-City committed Oct 17, 2020
2 parents badf4d8 + 0b1fdbf commit afe899f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using namespace std;

template <class T>
//实现降序
void sort(T &a, int n){
void sort(T *a, int n){
for (int i=0;i<n;i++){
int p=i;
for (int j=i;j<n;j++)
Expand Down

0 comments on commit afe899f

Please sign in to comment.