# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
534704 | kappa | Kutije (COCI21_kutije) | C++14 | 1066 ms | 17252 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>
#define pii pair<long long, long long>
#define pb push_back
#define st first
#define nd second
using namespace std;
long long n, m, k, d[1005], s[1005][1005], ol[1005][1005], vis[1005];
set<int> st[1005];
unordered_map<int, vector<int> > mp;
int main(){
scanf("%lld %lld %lld", &n, &m, &k);
for (int i = 1; i <= m; ++i)
{
for (int j = 1; j <= n; ++j)
{
long long temp;
scanf("%lld", &temp);
//s[i][temp] = j;
//st[temp].insert(j);
mp[temp].pb(j);
}
}
/*queue<pii> q;
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... |