# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
567405 | gs15120 | Aliens (IOI16_aliens) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define lll long long//__int128
#define pii pair<int,int>
#define f first
#define s second
# define PI 3.14159265358979323846
#include <ext/pb_ds/assoc_container.hpp>
const ll mod=1000000007,div2=(mod+1)/2,inf=1987654321987654321;
using namespace __gnu_pbds;
struct chash_key
{
ll operator()(pii x) const { return (ll)x.first*1000000000 + x.second; }
};
//gp_hash_table<pii,int,chash_key> hs[2],p[2];
struct P
{
int x,y;
/*bool operator <(const P &a) const
{
//if(y!=a.y)
//return y<a.y;
return y>a.y;
}*/