# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
95920 | Retro3014 | Selling RNA Strands (JOI16_selling_rna) | C++17 | 675 ms | 72908 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 <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <stdio.h>
using namespace std;
typedef long long ll;
#define MAX_M 100000
int N, M;
vector<string> S, P, Q;
string str;
struct ST{
ST (string s, int idx, bool b1, bool b2) : s(s), idx(idx), b1(b1), b2(b2) {}
string s;
int idx;
bool b1, b2;
bool operator <(const ST &a)const{
return s<a.s;
}
};
vector<ST> v1, v2;
struct PT{
PT (int x, int y) : x(x), y(y) {}
int x, y;
};
vector<PT> vS, vP[2];
struct SEG{
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |