제출 #1331497

#제출 시각아이디문제언어결과실행 시간메모리
1331497al95ireyiz게임 (IOI14_game)C++20
100 / 100
166 ms7064 KiB
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define vll vector<ll>
#define len(x) (ll)x.size()
const ll inf = 1e9, infl = 1e18;
const ll MOD = 1e9 + 7;
const ll maxn = 2e3 + 5;
ll n, m, k = 0;

#include "game.h"

ll a[maxn];
void initialize(int _n){
  n = _n;
  iota(a, a + n, 0ll);
}

int hasEdge(int u, int v){
  ll x = max(u, v);
  a[x] --;
  if(a[x] <= 0) return 1;
  return 0;
}

// void _() {
  
// }
// signed main() {
//   cin.tie(0)->sync_with_stdio(0);
//   ll t = 1;
//   // cin >> t;
//   while(t --) _();
// }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...