swap( int* p1,int* p2 ) { int *p; *p = *p1; *p1 = *p2; *p2 = *p; }
void swap( int* p1,int* p2 ) { int p; p = *p1; *p1 = *p2; *p2 = p; }
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题