hiho week 202 register

Ended

Participants:109

Verdict:Accepted
Score:100 / 100
Submitted:2018-05-16 15:57:35

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
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<stack>
#include<queue>
#include<utility>
#include<vector>
#include<cmath>
#include<set>
#include<map>
#include<iostream>
#include<algorithm>
#include<sstream>
using namespace std;
typedef long long LL;
struct Stu{  //
    int id;
    int time;
    friend bool operator < (const Stu s1, const Stu s2){
        if(s1.time != s2.time){
            return s1.time > s2.time;
        }else{
            return s1.id > s2.id;
        }
    }
};
typedef struct Stu Stu;
struct Node{  //线
    int office;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX