# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1089839 | vjudge1 | Simurgh (IOI17_simurgh) | 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 int long long
#define ll long long
#define ar array
const int INF = 1e18;
const int N = 2e3;
const int M = 1e7;
const int MOD = 1e9 + 7;
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
struct P{
int x, y, v;
void read(){
cin>>x>>y>>v;
}
P operator -(const P& b)const {
return P{x - b.x, y - b.y};
}
void operator -= (const P& b){
x -= b.x;
y -= b.y;
}
int operator *(const P& b) const{