# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
530981 | Tenis0206 | Skandi (COCI20_skandi) | C++11 | 180 ms | 14876 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;
int n,m;
char c[505][505];
int sus[505][505], stg[505][505];
vector<int> G[250005];
bool sel[250005], st[250005], dr[250005];
int l[250005],r[250005];
bool cupleaza(int nod)
{
sel[nod] = true;
for(auto it : G[nod])
{
if(!r[it])
{
r[it] = nod;
l[nod] = it;
return true;
}
}
for(auto it : G[nod])
{
if(!sel[r[it]] && cupleaza(r[it]))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |