MSBOP 2015 Round3 register

Ended

Participants:978

Verdict:AC | TLE
Submitted:2015-05-09 15:46:57

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 <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <cmath>
#include <queue>
using namespace std;
int dp[105][105], num[105][105];
struct Point {
    int x, y;
    
    Point operator - (const Point &a) const {
        return (Point) {x - a.x, y - a.y};
    }
    int operator * (const Point &a) const {
        return x * a.y - a.x * y;
    }
}P[105], Q[105], R[105];
int cmp(Point a, Point b) {
    return (a - R[0]) * (b - R[0]) > 0;
}
int main() {
    int T;
    scanf("%d", &T);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX