Skip to content

Commit

Permalink
DEBUG 函数模板 sort() 错误 ISSUE Light-City#73
Browse files Browse the repository at this point in the history
  • Loading branch information
daidai21 committed Sep 9, 2020
1 parent 9b6ac0e commit 0b1fdbf
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 0b1fdbf

Please sign in to comment.