摘要:
#includestruct mem{ char s[50]; int c; int f;};int main(){ struct mem x[60]; int n; int num,i;//num为课程数量 scanf("%d",&n); while(n--) { double sum1=0,s... 阅读全文
摘要:
#includeint main(){ int n,num,p,q,i,a[]={2,3,4,5,6,7}; scanf("%d",&n); while(n--) { int sum=0; scanf("%d%d%d",&num,&p,&q); if(num>6) { sum=num+7... 阅读全文
摘要:
#includeusing namespace std;int main(){ int n,a,b,c,i,sum,j; cin>>n; while(n--) { sum=0; getchar(); cin>>a>>b>>c; if(a>6) puts(... 阅读全文