# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
148903 | graneli (#200) | FunctionCup Museum (FXCUP4_museum) | C++17 | 126 ms | 13292 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 "museum.h"
#include <bits/stdc++.h>
#define F first
#define S second
#define mp make_pair
#define pb push_back
//#define ll __int128
#define ll long long
#define LEFT(a) ((a)<<1)
#define RIGHT(a) (LEFT(a) + 1)
#define MID(a,b) ((a+b)>>1)
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define y1 y122
using namespace std;
const ll N = 1000005;
int n;
ll ans;
ll A[N], B[N], C[N];
ll AB[N], BC[N], CA[N];
ll ABC[N];
ll CountSimilarPairs(std::vector<int> a, std::vector<int> b, std::vector<int> c) {
n = (int)a.size();
for (int i = 0; i < n; i++){
a[i]--;
b[i]--;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |