Description: Note:
Experimentation:
When sportsman who taking part in diving game had finished each movement,there were J referees marking for sportsman,and each time the highest and lowest marks always were taken out.
Each sportsman must finish C movements,no sooner did actions had be performed than current sum grades should be sorted and the final results should be displayed before athlete comes out.
Supposing there are N athletes attending the game,the NO is 1,2,...N.Write an program to implement this fuction.
Requires:
1 Create a single chain naming the name of headnode*head.
2 The movement C is main loop,Each sportsman s grades marked by all judges should be put in the each movement.After finished this,the grades were immediately sorted from low to high by sum field in the chain.
3 After each action, all of node of the single chain must be oputed out.
To Search:
File list (Check if you may need any files):