| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1289871 | hssaan_arif | 게임 (IOI14_game) | C++20 | 1 ms | 344 KiB |
#include <bits/stdc++.h>
#include "game.h"
using namespace std;
#define endl "\n"
#define pb push_back
// #define int long long
#define fi first
#define se second
const int N = 2e3 + 5, M = 1e9 + 7, LG = 20;
int cnt[N] , n;
void initialize(int m) {
n = m;
}
int hasEdge(int u, int v) {
cnt[u]++;
cnt[v]++;
if (cnt[u] == n-1 || cnt[v] == n-1){
return 1;
}else {
return 0;
}
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
