第一篇:模拟裁判给比赛选手打分参考程序1
/*
以下为模拟裁判经给比赛选手打分参考程序1(实验二中的程序设计实验),供同学们参考,请请各位同学认真阅读后分析后,自己重新编写并调试通过(分步调试)后上交。
类的定义放在头文件“result.h”中,处理程序放在“exp206.cpp”中,*/
//以下为类的定义:
#include
#include
using namespace std;
const int UMPIRE=10;//裁判人数,最多为10人
class result
{ private:
int num;//运动员编号
char name[11];//运动员姓名
int m;//裁判实际人数
double score[UMPIRE+1];
/*运动员得分,score[0]-score[m-1]为裁判打分,score[m]为平均得分*/
public:
result(void);//无参构造函数
result(int n,char *ps,int k,double x[]);
//构造函数重载,初始化运动员编号、姓名、裁判人数
void set(int n,char *ps,int k);
//写入运动员编号、姓名、裁判人数
void set_score(double x[]);//写入运动员得分
void input_name(int k);
//输入运动员编号、姓名、裁判人数
void input_score(void);//输入运动员得分
double maxrow(void);//求裁判打的最高分
double minrow(void);//求裁判打的最低分
double avg(void);//求平均分
int read_num(void)//读运动员编号
{return num;}
char *read_name(void)//读运动员姓名
{return name;}
double read_score(int i)//读运动员得分
{ return score[i];}
int read_m(void)//读裁判人数
{ return m;}
};
result::result(void)
{ int i;
num=0;m=0;strcpy(name,“");
for(i=0;i score[i]=0; } result::result(int n,char *ps,int k,double x[]) { int i; num=n;m=k;strcpy(name,ps); for(i=0;i score[i]=x[i]; } void result::set(int n,char *ps,int k) { num=n;m=k;strcpy(name,ps);} void result::set_score(double x[]) { int i; for(i=0;i score[i]=x[i]; } double result::maxrow(void) { double ma;int i; ma=score[0]; for(i=0;i if(ma return ma; } double result::minrow(void) { double mi;int i; mi=score[0]; for(i=0;i if(mi>score[i])mi=score[i]; return mi; } double result::avg(void) { double sum=0;int i; for(i=0;i sum+=score[i]; score[m]=(sum-maxrow()-minrow())/(m-2); return score[m]; } void result::input_name(int k) { char ch; int i; m=k; cout<<”运动员编号:“;cin>>num; cin.get(); cout<<”运动员姓名:“; while((ch=cin.get())!='n') { name[i]=ch;i++;} name[i]=' '; } void result::input_score(void) { int i; for(i=0;i { cout<<”第“< cin>>score[i]; } } //以下为处理程序: #include #include #include #include”hresult.h“ using namespace std; void input_name(result *s,int n,int m); void input_score(result *s,int n,int m); void print(result *s,int n); void sort(result *s,int n); void main(void) { int n,m;result *p; cout<<”输入参赛选手人数: “; cin>>n; cout<<”输入裁判人数: “; cin>>m; p=new result[n]; cout<<”请按抽签顺序输入参赛选手的编号、姓名:“; cout< input_name(p,n,m); cout<<”n比赛开始:“< input_score(p,n,m); cout<<”n按比赛顺序排列成绩表“< print(p,n); sort(p,n); cout<<”n按名次排列成绩表“< print(p,n); delete []p; } void input_name(result *s,int n,int m) for(i=0;i { cout<<”第“< s[i].input_name(m); } } void print(result *s,int n) { int i,m; m=s[0].read_m(); cout < for(i=0;i { cout< cout< cout< } } void input_score(result *s,int n,int m) { int i; for(i=0;i { cout<<”n请给“< cout<<”去掉一个最高分:“< cout<<”去掉一个最低分:“< cout<<”选手得分:"< } } //插入法排序方法1——直接在原数组中排序 void sort(result *s,int n) { int i,j,k,m;result temp; m=s[0].read_m();//获取裁判人数 //以下为插入法排序 for(i=1;i { temp=s[i]; for(j=0;j if(s[i].read_score(m)>s[j].read_score(m))//read_score(m)为平均成绩 {k=j;break;}//找到插入点即结束循环 if(j { for(j=i;j>k;j--)//将插入点及以下的元素后移一位 s[j]=s[j-1]; s[k]=temp; } } } /* void sort(result *s,int n) { int i,j,k,m;result *p; m=s[0].read_m(); p=new result[n]; //以下为插入法排序 p[0]=s[0]; for(i=1;i { for(j=0;j if(s[i].read_score(m)>p[j].read_score(m)){k=j;break;}//找到插入点即结束循环 if(j { for(j=i;j>k;j--)//将插入点及以下的元素后移一位p[j]=p[j-1]; p[k]=s[i]; } else//未找到插入点位置,则插入到对应位置p[i]=s[i]; } for(i=0;i s[i]=p[i]; delete []p; } */ 昔阳县首届煤矿职工技能大赛 参赛选手代表誓词 我代表全体参赛选手宣誓: 自觉服从大赛安排,严格遵守赛场纪律和竞赛规则。在比赛过程中,努力发挥自己的技能专长,争取赛出好的成绩。尊重对手,尊重裁判,尊重观众,以良好的精神面貌,顽强拼搏,赛出水平,赛出风格,赛出成绩,为全县煤矿企业安全生产和效益提高做出贡献! 预祝本次技能大赛圆满成功! 宣誓完毕! 宣誓人:刘少泽 2011年6月9日 昔阳县首届煤矿职工技能大赛 裁判员代表誓词 我代表全体裁判员宣誓: 坚决服从大赛组委会指挥,在比赛过程中严格遵守裁判纪律,尊重参赛选手,坚持公平、公正、公开的原则,文明裁判,尊重客观事实,坚决抵制任何外来因素的影响,自觉执行裁判标准,绝不徇私舞弊,以良好的道德风尚和专业的裁判知识,为职业技能大赛增光添彩。 宣誓完毕,谢谢大家! 宣誓人:石元来 2011年6月9日 昔阳县首届煤矿职工技能大赛 参赛选手代表誓词 我代表全体参赛选手宣誓: 自觉服从大赛安排,严格遵守赛场纪律和竞赛规则。在比赛过程中,努力发挥自己的技能专长,争取赛出好的成绩。尊重对手,尊重裁判,尊重观众,以良好的精神面貌,顽强拼搏,赛出水平,赛出风格,赛出成绩,为全县煤矿企业安全生产和效益提高做出贡献! 预祝本次技能大赛圆满成功! 宣誓完毕! 宣誓人:刘少泽 2011年6月9日 尊敬的评委: 你们好! 我是来自华南赛区的选手陈XX,我的专业是法律,我将于2009年7月毕业。 毕业在即,因为写论文和找工作的缘故,时间显得特别的紧迫;但是,我还是不遗余力的腾出宝贵的时间来参加“飞越重洋”的比赛。参加这样的一个比赛,对我来说有两个目的:第一是证明自己的综合实力,为找工作多一份证明;第二,也是最主要的,是最终胜出,到国外实习。 到国外实习,是我梦寐以求的目标。我学的是法律,我希望自己未来执业的领域是反倾销,因为中国面临反倾销的局势相当严峻,但是国内却缺少反倾销领域的专才。1996年以来,中国一直是世界头号反倾销目标国。与此相对应,从打火机到彩电,从纺织品到家具,从光纤到汽车挡风玻璃……,我国相应的生产企业接二连三的吃了国外反倾销的亏,我们国家也因此而损失了巨额外汇。每次国内企业举起反倾销的大旗,却几乎找不到可以独立承担反倾销工作的律师,这种滞后甚至空白的现状让人感到非常吃惊;与我们的落后相比,英美等发达国家在反倾销领域经验丰富,在与我们反倾销的较量中占有绝对的优势。因此我希望能够借助于中华英才网“飞越重洋”计划,到国外顶尖的反倾销领域的律师事务所实习,“师夷长技以制夷”,为捍卫中国企业利益和国家利益尽绵薄之力。 希望各位评委能够对我予以考虑,我热切盼望你们的回音,谢谢! 此致 敬礼! XXX 2008年10月15日 比赛选手自荐信 比赛选手自荐信1 china’s greatest contribution to global harmony and prosperity over the next 25 years honorable judges, ladies and gentlemen, it is my great pleasure to speak here today. i would like to share my opinion with you on the topic china’s greatest contribution to global economy and harmony over the next 25 years. when i saw this topic for the first time, one thing flashed into my mind was a song called “chinese language” which is sung by a famous female band and in this song, there is one sentence in its lyrics, like, “all the world is leaning chinese”. therefore i want to say, the essence of china’s long history, chinese culture will exert a very influential effect to global harmony and prosperity over the next 25 years. i would like to divide chinese culture into three levels, chinese language, chinese educational theory and chinese traditions. firstly, chinese language will contribute enormously to the prosperity of the world’s economy. a few months ago, i went to beijing with my girlfriend to have a sightseeing there. in the airplane flying to beijing, i encountered a foreign student from germany and he studied chinese as a postgraduate student in dalian northeast financial and economic university. we talked a lot, in chinese, related to her life in dalian, her major and even chinese phonetic symbols. when i asked her why did you decide to study chinese in this country, she told me that when she was an undergraduate student, her major was international trade and because china had become a big economy in the world, it would be very important to learn chinese to be a businessperson in the future. therefore, i believe, due to china’s economic status in the world, chinese language would become a very important factor for the world’s economic prosperity. secondly, chinese educational theory is one of the most effective means to create harmonious relationship between human beings. china has a very long history and china’s educational theory has benefited chinese people enormously. i would like to take confucius as an example. confucius emphasized a lot on the harmonious relations between people. he even thought the relationship between teachers and students should be as good as the relationship between father and son. therefore, even many years after he died, his students still compiled “lunyu” the most famous book derived from confucius’ quotations. so i would say if china’s educational theory could be accepted by the world, it will benefited the world’s harmonious relationship between human beings greatly thirdly, chinese tradition will provide an extremely positive effect to form a harmonious character of human beings. i would like to take myself as an example. when i was yang, i did not have a pretty handwriting and i often lost temper to my friends. so, my parent decided to let me study calligraphy. in the first few days, i experienced a lot of failures and committed some mistakes. however, i gradually learnt to be patient and my handwriting also became better. therefore, i would say if chinese tradition could be accepted by the world gradually, it will benefit the world greatly for forming human being’s sound and harmonious character. in conclusion, china’s culture, especially chinese language, chinese educational theory and chinese tradition, will contribute greatly to the world’s prosperity and harmony. thank you for your time. 比赛选手自荐信2 recently, the liberal education project at zhongshan university has attracted great attention. the 35 freshmen taking part in this project will follow a general curriculum providing broad learning in multiple disciplines rather than the usual in depth study of one particular major. they may benefit a great deal by broadening their knowledge, but will they lose out when it comes to job hunting in four years’ time? give your opinion about this liberal education project. honorable judges, ladies and gentlemen! i’m happy to have the chance to speak here. i would like to share my opinion with you on the topic “the liberal education project at zhongshan university.” recently, this liberal education project has attracted great attention all over china. some people believe the project will benefit the students involved greatly. however, others raise their eyebrows because they fear that the students will lose out in the job market. in my opinion, this project should be regarded as a blessing rather than a curse. there are tow arguments i would like to make to support my point of view. firstly, attending the project, the students lay a solid foundation for their further study and research. as the chinese saying goes “there is no separation among liberal arts, history and philosophy.” only when students comprehensively study all three subjects, could they obtain a solid foundation for their future accomplishments in the study of human science. i remember, one of my friends majored in liberal arts and minored in history as an undergraduate student. however, after four year’s study, he found he was especially interested in medieval history, which he specialized in later for his master’s degree. recently, he confided to me that he feels he is at a disadvantage in pursuing his further studies because he has not studied philosophy as an undergraduate student and philosophy, particularly historical materialism is one of the key tools for analyzing past events. therefore i believe, as dose he, that if he had taken part in this project, he would have benefited enormously. secondly, the project provides the students with an edge for competing in the job market. nowadays, to be recruited by a well-known company, university students have to pass many rounds of tests and interviews, which aim at testing students’ all-round abilities. therefore, i firmly believe, the students, who have extensively studied liberal arts, history and philosophy, will stand out in the tests and attract the attention of any employer. in the modern world, companies need their employees to be versatile, to keep pace with the rapid change of business. so, with their interdisciplinary educational background, the graduates from the project will soon become extremely competent employees capable of tackling any issue that may occur in their future career. in conclusion, i would say, taking part in the project will provide the students with a better academic life and career prospects. it is my belief that we should view the project as a beneficial and encouraging educational reform. thank you for your time. 比赛选手自荐信3 尊敬的评委: 你们好! 我是来自华南赛区的选手陈XX,我的专业是法律,我将于20xx年7月毕业。 毕业在即,因为写论文和找工作的缘故,时间显得特别的紧迫;但是,我还是不遗余力的腾出宝贵的时间来参加“飞越重洋”的比赛。参加这样的一个比赛,对我来说有两个目的:第一是证明自己的综合实力,为找工作多一份证明;第二,也是最主要的,是最终胜出,到国外实习。 到国外实习,是我梦寐以求的目标。我学的是法律,我希望自己未来执业的.领域是反倾销,因为中国面临反倾销的局势相当严峻,但是国内却缺少反倾销领域的专才。1996年以来,中国一直是世界头号反倾销目标国。与此相对应,从打火机到彩电,从纺织品到家具,从光纤到汽车挡风玻璃……,我国相应的生产企业接二连三的吃了国外反倾销的亏,我们国家也因此而损失了巨额外汇。每次国内企业举起反倾销的大旗,却几乎找不到可以独立承担反倾销工作的律师,这种滞后甚至空白的现状让人感到非常吃惊;与我们的落后相比,英美等发达国家在反倾销领域经验丰富,在与我们反倾销的较量中占有绝对的优势。因此我希望能够借助于中华英才网“飞越重洋”计划,到国外顶尖的反倾销领域的律师事务所实习,“师夷长技以制夷”,为捍卫中国企业利益和国家利益尽绵薄之力。 希望各位评委能够对我予以考虑,我热切盼望你们的回音,谢谢! 此致 敬礼! XXX 20xx10月15日第二篇:裁判、选手誓词
第三篇:裁判、选手誓词
第四篇:比赛选手自荐书
第五篇:比赛选手自荐信