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

2025-04-26 01:47:22
推荐回答(1个)
回答1:

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