Submission #719416

# Submission time Handle Problem Language Result Execution time Memory
719416 2023-04-05T21:47:46 Z Juan Game (IOI14_game) C++14
0 / 100
1 ms 308 KB
#include<bits/stdc++.h>
using namespace std;
#include "game.h"
const int maxn = 1505;

int deg[maxn], N;

void initialize(int n) {
    N = n;
}

int hasEdge(int u, int v) {
    deg[u]++, deg[v]++;
    if(deg[u]==N || deg[v]==N) return 1;
    else return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 308 KB Output isn't correct
2 Halted 0 ms 0 KB -