# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1173203 | DangKhoizzzz | Divide and conquer (IZhO14_divide) | C++17 | 1093 ms | 1608 KiB |
#include <bits/stdc++.h>
#define int long long
#define pii pair <int , int>
#define fi first
#define se second
#define arr3 array <int , 3>
using namespace std;
const int INF = 1e9;
const int maxn = 5e5 + 7;
// brute để hiểu đề
int n , ps[maxn];
arr3 a[maxn];
void solve()
{
cin >> n;
for(int i = 1; i <= n; i++)
{
cin >> a[i][0] >> a[i][1] >> a[i][2];
}
sort(a+1 , a+n+1);
int ans = 0;
for(int i = 1; i <= n; i++)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |