Submission #1207093

#TimeUsernameProblemLanguageResultExecution timeMemory
1207093andrejikusGame (IOI14_game)C++20
100 / 100
198 ms7060 KiB
#include <bits/stdc++.h>
#include "game.h"
using namespace std;
typedef long long ll;
void DBG() { cerr << "]" << endl; }
template<class H, class... T> void DBG(H h, T... t) { cerr << to_string(h); if(sizeof...(t)) cerr << ", "; DBG(t...); }
#define dbg(...) cerr << "[" << #__VA_ARGS__ << "]: [", DBG(__VA_ARGS__)
 
const int N = 2e5 + 3;

void initialize(int n) {
    
}
int c[1500];
int hasEdge(int u, int v) {
    return (++c[max(u, v)] == max(u, v));
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...