新人求助,请各位大神帮帮忙

2025-05-11 23:12:18
推荐回答(1个)
回答1:

你的函数是错误的,正确代码如下 int Max(int a[]) { int s,max=0,temp; for(s=0;sa[max]) max=s; } return a[max]; }