hiho week 83 register

Ended

Participants:67

Verdict:Accepted
Score:100 / 100
Submitted:2016-02-03 18:06:58

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/****************************************************/
/* File        : hiho_week_83.cpp                   */
/* Author      : Zhang Yufei                        */
/* Date        : 2016-02-03                         */
/* Description : HihoCoder ACM program. (submit:g++)*/
/****************************************************/
/*
 * Update log:
 *      Create by Zhang Yufei in 2016-02-01.
 *      Edit by Zhang Yufei in 2016-02-02.
 *          Submit: WA/RTE
 *      Edit by Zhang Yufei in 2016-02-03.
 *          Submit: WA.
 */
 
#include<stdio.h>
#include<stdlib.h>
/*
 * The structure to store the candidates' data.
 * Parameters:
 *      @id: The id of the candidate.
 *      @sex: The gender of candidate.
 *      @value: The well-estimated ability value of this candidate.
 *      @salary: The expect salary of this candidate.
 */
typedef struct node1 {
    int id;
    char sex;
    int value;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX