# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
340091 | Hazem | Političari (COCI20_politicari) | C++14 | 365 ms | 140416 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.
/*
ID: tmhazem1
LANG: C++14
TASK: pprime
*/
#include <bits/stdc++.h>
using namespace std;
#define S second
#define F first
#define LL long long
const int N = 5e2 + 10;
LL LINF = 100000000000000000;
LL INF = 1000000000;
pair<int,int> nxt[N][N][70];
int main()
{
//freopen("out.txt","w",stdout);
LL n,k;
scanf("%lld%lld",&n,&k);
for(int i=1;i<=n;i++)
for(int j=1;j<=n;j++){
int x;cin>>x;
nxt[i][j][0] = {x,i};
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |