PTA(Basic Level) 1047:编程团体赛 (C语言实现) 分析:将团队编号作为数组下标,每输入一组数据,将成绩加在团队编号对应的数组元素中。 #include<stdio.h> int main() { int n,i,a[1001]={ 0}