❶ 综合运动会球类项目如何计团体分数
奥运会设有棒球、排球、篮球、足球、曲棍球、手球、羽毛球、垒球、网球、内乒乓球、冰球等球类项目。容
根据国际奥委会的资料,奥运会比赛项目是这样划分的:大项(SPORT)、分项(DISCIPLINES)和小项(EVENT)。
与雅典奥运会一样,北京奥运会的比赛项目是大项28项,这28项为:田径、赛艇、羽毛球、垒球、篮球、足球、拳击、皮划艇、自行车、击剑、体操、举重、手球、曲棍球、柔道、摔跤、水上项目、现代五项、棒球、马术、跆拳道、网球、乒乓球、射击、射箭、铁人三项、帆船帆板和排球。
其中有些项目并没有分项,夏季奥运会分项最多的是游泳项目(包括了竞技游泳、花样游泳、水球、跳水和公开水域游泳5个分项),冬季奥运会分项最多的是滑雪项目(包括越野滑雪、高山滑雪、跳台滑雪、北欧两项、自由式滑雪和单板滑雪6个分项)。田径虽然没有分项,却有47个小项,其中男子24个小项,女子23个小项,是奥运会项目中金牌最多的。
2012伦敦奥运会奥组委将棒球、垒球两项的比赛取消了。
❷ 课题一 运动会分数统计
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#define NULL 0
# define N 4
# define M 3
# define W 2
struct match_data
{int Range; /*paiming*/
char name[20];
int Score; /*defen*/
}match_data[M+W];
struct school_data
{struct match_data match_data[M+W];
int m_Score; /*nan yundongyuan defen*/
int w_Score; /*nv yundongyuan defen*/
int total_Score; /*zongfen*/
}school_data[N];
Waring_message()
{
printf ("\n Wrong input value! Please try again.\n");
}
input_1(m)
{
int i,j,k,T=1;
for(i=1,k=7;i<=3;i++,k-=2)
{printf ("\n NO.%d : %d points.",i,k);
while(T)
{printf ("\n\n School number: (1--%d)",N);
scanf ("%d",&j);
if ((j>0)&&(j<=N)) T=0;
else { Waring_message();T=1;}
}
printf ("\n Please input the athlete's name:");
scanf ("%s",&school_data[j-1].match_data[m-1].name);
if (m<=M) school_data[j-1].m_Score+=k;
else school_data[j-1].w_Score+=k;
school_data[j-1].total_Score+=k;
school_data[j-1].match_data[m-1].Range=i;
school_data[j-1].match_data[m-1].Score=k;
T=1;
}
for(i=4,k=2;i<=5;i++,k-=1)
{printf ("\n NO.%d : %d points",i,k);
while(T)
{printf ("\n\n School number: (1--%d)",N);
scanf ("%d",&j);
if ((j>0)&&(j<=N)) T=0;
else { Waring_message();T=1;}
}
printf ("\n The athlete's name:");
scanf ("%s",&school_data[j-1].match_data[m-1].name);
if (m<=M) school_data[j-1].m_Score+=k;
else school_data[j-1].w_Score+=k;
school_data[j-1].total_Score+=k;
school_data[j-1].match_data[m-1].Range=i;
school_data[j-1].match_data[m-1].Score=k;
T=1;
}
}
input_2(m)
{int i,j,k=5; int T=1;
printf ("\n NO.1 : 5 points");
while(T)
{printf ("\n\n School number: (1--%d)",N);
scanf ("%d",&j);
if ((j>0)&&(j<=N)) T=0;
else { Waring_message();T=1;}
}
printf ("\n The athlete's name:");
scanf ("%s",&school_data[j-1].match_data[m-1].name);
if (m<=M) school_data[j-1].m_Score+=k;
else school_data[j-1].w_Score+=k;
school_data[j-1].total_Score+=k;
school_data[j-1].match_data[m-1].Range=1;
school_data[j-1].match_data[m-1].Score=k;
for(i=2,k=3;i<=3;i++,k-=1)
{T=1;
printf ("\n NO.%d : %d points",i,k);
while(T)
{printf ("\n\n School number: (1--%d)",N);
scanf ("%d",&j);
if ((j>0)&&(j<=N)) T=0;
else { Waring_message();T=1;}
}
printf ("\n The athlete's name:");
scanf ("%s",&school_data[j-1].match_data[m-1].name);
if (m<=M) school_data[j-1].m_Score+=k;
else school_data[j-1].w_Score+=k;
school_data[j-1].total_Score+=k;
school_data[j-1].match_data[m-1].Range=i;
school_data[j-1].match_data[m-1].Score=k;
}
}
input_3(m)
{int i,j,k,T,Q,S=1;
for(i=1,T=1;T==1;i++)
{printf ("\n NO.%d\n points:",i);
scanf ("%d",&k);
while(S)
{printf ("\n School number: (1--%d)",N);
scanf ("%d",&j);
if ((j>0)&&(j<=N)) S=0;
else { Waring_message();S=1;}
}
printf ("\n The athlete's name:");
scanf ("%s",&school_data[j-1].match_data[m-1].name);
if (m<=M) school_data[j-1].m_Score+=k;
else school_data[j-1].w_Score+=k;
school_data[j-1].total_Score+=k;
school_data[j-1].match_data[m-1].Range=i;
school_data[j-1].match_data[m-1].Score=k;
printf ("\n Continue?\n key 0:yes\n key 1-9:end\n");
scanf ("%d",&Q);
T=(Q==0);
S=1;
}
}
input()
{
int i,T=1;
while(T)
{printf ("\n Please input the number of the game: (1--%d)",M+W);
scanf ("%d",&i);
if ((i>0)&&(i<=M+W)) T=0;
else {Waring_message(); T=1;}
}
return (i);
}
output_1()
{
int n,m,T=1;
while (T)
{printf ("\n Please input the school number: (1--%d)",N);
scanf ("%d",&m);
if ((m>0)&&(m<=N)) T=0;
else { Waring_message(); T=1;}
}
printf ("\n Data of school %d:",m);
printf ("\n **************************************************************");
printf ("\n Item NO. Range Score NAME");
for (n=1;n<=(M+W);n++)
{printf ("\n\n %d %d",n,school_data[m-1].match_data[n-1].Range);
printf (" %d",school_data[m-1].match_data[n-1].Score);
printf (" %s",school_data[m-1].match_data[n-1].name);
}
printf ("\n **************************************************************\n");
}
output_2()
{int m,T=1;
while (T)
{printf ("\n Please input the school number:(1--%d)",N);
scanf ("%d",&m);
if ((m>0)&&(m<=N)) T=0;
else { Waring_message();T=1;}
}
printf ("\n Team data of school %d",m);
printf ("\n ****************************************************************");
printf ("\n M_Score W_Score TOTAL_Score");
printf ("\n\n %d",school_data[m-1].m_Score);
printf (" %d",school_data[m-1].w_Score);
printf (" %d",school_data[m-1].total_Score);
printf ("\n ****************************************************************\n");
}
main()
{
clrscr();
int s,m,T=1;
while(T)
{
m=input();
printf ("\n Please input the game type: ");
printf ("\n 0 : Type1");
printf ("\n 1 : Type2");
printf ("\n 2--9:user-defined\n");
scanf ("%d",&s);
if (s==0) input_1(m);
else if (s==1) input_2(m);
else input_3(m);
printf ("\n Press key 0 to continue input.\n key 1--9 to view data.");
scanf ("%d",&s);
if(s==0) T=1;
else T=0;
}
T=1;
while(T)
{printf ("\n key 0 : View school's game data.");
printf ("\n key 1 : View school's team data.");
printf ("\n key 2--9: End the programe.");
scanf ("%d",&s);
if(s==0) output_1();
else if(s==1) output_2();
else {T=0; printf (" Thanks, goodbye!\n");}
}
}
❸ 怎么做田径运动会记分表
1、根据工作表格设置成以下格式即可;
2、成绩报告表示例:
❹ 运动会分数统计
你想问什么问题
❺ 1. ②运动会分数统计
参加运动会的N个同学编号为1~N。比赛分成M个男子项目和W个女子项目项目编号分别为回1~答M和M+1~M+W。由于各项目加入人数差别较大,有些项目取前5名得分顺序为7 5 3 2 1,有些项目取前3名顺序为5 3 2,写一个统计程序产生各种成绩单和成绩报表。要求⑴学校成绩单的内容包括各校取得的每项成绩的项目号,名次(成绩),姓名和得分⑵产生团体总分表,内容包括校号 男子团体总分 女子团体总分和团体总分。(测试数据:对于N=4,M=3,W=2编号为奇数的项目取前5名,偶数的取前3名,设计一组实例数据。提示:可以假设N《=20,M〈=30,W〈=20,姓名长度不超过20个字符,每个项目结束时,将其编号,类型符(区分前5名还是千名)输入,并按名次顺序输入运动员的姓名,校名和成绩。
❻ C语言运动会项目成绩统计程序
#include<iostream>
#include <algorithm>
#include<vector>
#include<string>
#include<fstream>
#include<stdlib.h>
using namespace std;struct player
{
string sex;
int score;
//school playerschool;
};
struct school
{
int ID;
int score;
player girl;
player boy;
};
struct match
{
int number;
int score;
school sch[100];
bool Isthree;
};
bool cmp(school &q,school &p)
{
return q.score<p.score;
}
bool cmp1(school &q,school &p)
{
return q.boy.score<p.boy.score;}
bool cmp2(school &q,school &p)
{
return q.girl.score<p.girl.score;
}
void save2(school *q,int n)
{
string b;
cin>>b;
int i;
ofstream fout(b.c_str());
for (i=1;i<=n;i++)
fout<<q[i].score<<endl;
}
void save6(int total,int temp,match *p,int kq)
{
string b;
cin>>b;
//int i;
ofstream fout(b.c_str());
fout<<total<<"号学校在第"<<temp<<"次比赛中积分为:"<<endl;
fout<<p[temp].sch[kq].score<<endl;
}
void save3(match *p,int n,int temp)
{
string b;
int i;
cin>>b;
ofstream fout(b.c_str());
if (p[temp].Isthree)
for (i=1;i<=3;i++)
{
fout<<"第【"<<i<<"】名学校编号为:"<<p[temp].sch[i].ID<<endl;
fout<<"得分: "<<p[temp].sch[i].score<<endl<<endl;
}
else
for (i=1;i<=5;i++)
{
fout<<"第【"<<i<<"】名学校编号为:"<<p[temp].sch[i].ID<<endl;
fout<<"得分: "<<p[temp].sch[i].score<<endl<<endl;
}}
int main()
{
int n,m,r,w,N;
bool BB=false;
int flag,lex;
char c;
int temp;
int total;
int bisai,schoo;
system("color 4F");cout<<"\t\t------------------------------------"<<endl;
cout<<"\t\t\t***********************"<<endl;
printf ("\t\t\t 运动会成绩统计系统\t\n");
cout<<"\t\t\t***********************"<<endl;
cout<<"\t\t------------------------------------"<<endl<<endl<<endl;
getchar();
system("cls");
cout<<" 请输入学校数目"<<endl;
cin>>n;
system("cls");
cout<<"请输入男生比赛项目数"<<endl;
cin>>m;
system("cls");
cout<<"请输入女生比赛项目数"<<endl;
cin>>w;
system("cls");
match *p=new match[m+1+w];
school *q=new school[n+1];
match *pp;
school *qq;
for (int i=1;i<=n;i++)
{
q[i].boy.score=0;
q[i].girl.score=0;
q[i].score=0;
q[i].ID=i;
}
for (i=1;i<=m+w;i++)
for (int j=1;j<=n;j++)
{
p[i].sch[j].score=0;
p[i].sch[1].ID=-1;
}system("cls");
loop:
system("cls");
cout<<"\t\t\t\t主界面:"<<endl;
cout<<"1: 开始录入成绩...."<<endl<<endl;
cout<<"2: 按学校编号排序输出"<<endl<<endl;
cout<<"3: 按学校总分排序输出"<<endl<<endl;
cout<<"4: 按男生团体总分排序输出"<<endl<<endl;
cout<<"5: 按女生团体总分排序输出"<<endl<<endl;
cout<<"6: 按学校编号查询指定项目得分情况"<<endl<<endl;
cout<<"7: 查询某一项目所参与学校的得分情况"<<endl<<endl;
cout<<"8: 操作完毕... 退出系统"<<endl;
cin>>flag;
if (flag==1)
{
system("cls");
//freopen("match.txt","r",stdin);
ifstream fin("match.txt");
while (fin>>bisai>>lex)
{
if (lex==3)
p[bisai].Isthree=true;
else p[bisai].Isthree=false; }
fin.close();
ifstream tin("school.txt");
while (tin>>bisai)
{
if (p[bisai].Isthree)
{
for (i=1;i<=3;i++)
{
tin>>schoo;
p[bisai].sch[i].ID=schoo;
//p[bisai].sch[]=scho;
if (i==1)
{
q[schoo].score+=5;
if (bisai>m)
q[schoo].girl.score+=5;
else
q[schoo].boy.score+=5;
p[bisai].sch[i].score=5;
}
else if (i==2)
{
q[schoo].score+=3;
if (bisai>m)
q[schoo].girl.score+=3;
else
q[schoo].boy.score+=3;
p[bisai].sch[i].score=3;
}
else
{
q[schoo].score+=2;
if (bisai>m)
q[schoo].girl.score+=2;
else
q[schoo].boy.score+=2;
p[bisai].sch[i].score=2;
}
}
}
else
{
for (i=1;i<=5;i++)
{
tin>>schoo;
p[bisai].sch[i].ID=schoo;
//p[bisai].sch[]=scho;
if (i==1)
{
q[schoo].score+=7;
if (bisai>m)
q[schoo].girl.score+=7;
else
q[schoo].boy.score+=7;
p[bisai].sch[i].score=7;
}
else if (i==2)
{
q[schoo].score+=5;
if (bisai>m)
q[schoo].girl.score+=5;
else
q[schoo].boy.score+=5;
p[bisai].sch[i].score=5;
} else if (i==3)
{
q[schoo].score+=3;
if (bisai>m)
q[schoo].girl.score+=3;
else
q[schoo].boy.score+=3;
p[bisai].sch[i].score=3;
}
else if (i==4)
{
q[schoo].score+=2;
if (bisai>m)
q[schoo].girl.score+=2;
else
q[schoo].boy.score+=2;
p[bisai].sch[i].score=2;
}
else
{
q[schoo].score+=1;
if (bisai>m)
q[schoo].girl.score+=1;
else
q[schoo].boy.score+=1;
p[bisai].sch[i].score=1;
}
}
} }
//cout<<q[5].boy.score<<endl;
cout<<"\t\t\t成绩录入完毕...."<<endl<<endl;
tin.close();
cout<<"跳回主界面 Y/N?"<<endl;
pp=p;
qq=q;
cin>>c;
if (c=='Y'||c=='y')
goto loop;
else return 0;
//else return 0;
}
else if (flag==2)
{
system("cls");
cout<<"\t\t 【按学校编号排列】"<<endl;
for (i=1;i<=n;i++)
cout<<q[i].score<<endl;
cout<<"显示完毕"<<endl;
cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
system("cls");
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save2(q,n);
}
cout<<"跳回主界面 Y/N?"<<endl;
cin>>c;
if (c=='Y'||c=='y')
goto loop;
else return 0; //getchar();
//goto loop;
}
else if (flag==3)
{
q=qq;
sort(q+1,q+n+1,cmp);
system("cls");
cout<<"\t\t【学校总分按小到大排列】"<<endl;
cout<<"ID"<<" "<<"score"<<endl;
for (i=1;i<=n;i++)
cout<<q[i].ID<<" "<<q[i].score<<endl;
cout<<"显示完毕"<<endl;
cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
system("cls");
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save2(q,n); }
goto loop;
/*cout<<"跳回主界面 Y/N?"<<endl;
cin>>c;
if (c=='Y'||c=='y')
else return 0;*/
}
else if (flag==4)
{
q=qq;
sort(q+1,q+n+1,cmp1);
system("cls");
cout<<"\t\t按男生团体总分排名"<<endl<<endl;
cout<<"ID "<<"SCORE"<<endl;
for (i=1;i<=n;i++)
cout<<q[i].ID<<" "<<q[i].boy.score<<endl; cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
system("cls");
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save2(q,n);
}
//cout<<"跳回主界面....";
// getchar();
goto loop;
}
else if (flag==5)
{
q=qq;
sort(q+1,q+n+1,cmp2);
system("cls");
cout<<"\t\t按女生团体总分排名"<<endl<<endl;
cout<<"ID "<<"SCORE"<<endl;
for (i=1;i<=n;i++)
cout<<q[i].ID<<" "<<q[i].girl.score<<endl;
cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
system("cls");
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save2(q,n);
}
// cout<<"跳回主界面...";
// getchar();
goto loop;
}
else if (flag==6)
{
int temp;
int total;
cout<<"\t\t\t请输入要查询的学校编号"<<endl;
cin>>total;
cout<<endl;
cout<<"\t\t\t请输入指定比赛项目编号"<<endl;
cin>>temp;
cout<<endl;
for (i=1;;i++)
if(p[temp].sch[i].ID==total)
break;
cout<<total<<"号学校在第"<<temp<<"次比赛中积分为:"<<endl;
cout<<p[temp].sch[i].score<<endl; cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save6(total,temp,p,i);
}
// cout<<"跳回主界面....";
// getchar();
goto loop;
}
else if (flag==7) {
system("cls");
loop45:
cout<<"\t\t输入比赛编号"<<endl;
cin>>temp;
cout<<endl; if (p[temp].Isthree)
for (i=1;i<=3;i++)
{
if (p[temp].sch[i].ID==-1)
{
cout<<"\t\t该比赛项目没有学校参与"<<endl;
cout<<"\t\t重新选择...."<<endl;
goto loop45;
}
cout<<"第【"<<i<<"】名学校编号为:"<<p[temp].sch[i].ID<<endl;
cout<<"得分: "<<p[temp].sch[i].score<<endl<<endl;
}
else
for (i=1;i<=5;i++)
{
cout<<"第【"<<i<<"】名学校编号为:"<<p[temp].sch[i].ID<<endl;
cout<<"得分: "<<p[temp].sch[i].score<<endl<<endl;
}
cout<<"\t\t\t 是否将文件保存Y/N??"<<endl;
cin>>c;
system("cls");
if (c=='y'||c=='Y')
{
cout<<"\t\t\t*******请输入要保存到的文件名******"<<endl;
save3(p,n,temp);
}
// cout<<"跳回主界面....";
// getchar();
goto loop;
}
else
{
system("cls");
cout<<"\t\t谢谢使用...."<<endl;
return 0;
}
return 0;
}
❼ 运动会分数统计程序
用Microsoft Office Excel 自己编辑一个就OK了
❽ 运动会自己报了那些项目,成绩怎么样
运动会自己报了那些项目,成绩怎么样
比赛项目包括田径、游泳、篮球、排版球、权足球、乒乓球、健美操、武术、定向越野、毽球、跆拳道、桥牌十二个比赛项目,往届比赛还有两项,五项,六项的,基本包括田径、游泳、足球。成绩要看你发挥的怎样了
❾ 1、 运动会分数统计
看来没人会来答这个题了.