主函数的返回值是0,但是main前面却没有指定为int类型。在主函数前面加上int就行了,int main(){...}
最主要的,是第5行要改为scanf("%d",&score);其次,main()前面最好要加int 。