hiho week 202 register

Ended

Participants:109

Verdict:Accepted
Score:100 / 100
Submitted:2018-05-12 22:08:41

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<bits/stdc++.h>
#include<string>
#include<iostream>
#include<unordered_set>
#include<vector>
#include<set>
#include<deque>
#include<queue>
using namespace std;
struct Node {
    int O;
    int W;
};
struct Stu{
    int number;
    int time;
    int size;
    deque<Node> seq;
};
struct Time
{
    int number;
    int time;
    int seq;
};
bool cmp(const Time& a, const Time& b)
{
    return a.time > b.time ? true : a.time == b.time ? a.number > b.number : false;
}
int main()
{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX