运行 ID: 71799

Main.cc: In function ‘int main()’:
Main.cc:10:27: error: ‘max’ cannot be used as a function
         max=max(max,num[i]);
                           ^
Main.cc:11:19: error: invalid types ‘int [((int)max + 1)][float]’ for array subscript
         cnt[num[i]]++;
                   ^