请大家帮忙看看这个程序还有什么错误
程序代码:
#include<stdio.h> #include<stdlib.h> #define MAX 100 //#define MIN 0 int main() { int score[MAX+1]={0}; int juni[MAX+1]={0}; int i,j,count; do { printf("输入分数,-1结束:\n"); scanf("%d",&score[count++]); }while(score[count-1]!=-1); count--; for( i=0;i<count;i++) { juni[i]=1; for( j=0;j<count;j++) { if(score[j]>score[i]) juni[i]++; } } printf("得分排行\t排行\n"); for(i=0;i<count;i++) printf("%d\t%d\n",score[i],juni[i]); return 0; }