# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
926267 | samek08 | Cards (LMIO19_korteles) | C++14 | 1089 ms | 43912 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;
typedef long long ll;
#define rep(a,b) for(int a = 0; a < (b); ++a)
#define all(t) t.begin(), t.end()
#define pb push_back
struct Element
{
string n1, n2, n3, n4;
bool operator < (const Element &element) const
{
//return n1 < element.n1 || n2 < element.n2 || n3 < element.n3 || n4 < element.n4;
if(n1 == element.n1)
{
if(n2 == element.n2)
{
if(n3 == element.n3)
{
return n4 < element.n4;
}
return n3 < element.n3;
}
return n2 < element.n2;
}
return n1 < element.n1;
}
};
const int MAXN = 5e5+5, p = 2137, mod = 1e9+7;
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |