Submission #1156891

#TimeUsernameProblemLanguageResultExecution timeMemory
1156891Owen11Game (IOI14_game)C++20
100 / 100
179 ms6996 KiB
#include <bits/stdc++.h>
using namespace std;

// # define int long long
# define fir first
# define sec second
# define pb push_back
# define endl "\n"

const int cnst = 2e5+5;
bool mutipletestcase = 0;
bool debug = false;

int freq[1501];

void initialize(int n) {}

int hasEdge(int u, int v) {
    freq[max(u, v)]++;
    return freq[max(u, v)] == max(u, v);
}

// signed main() {
//     ios_base::sync_with_stdio(false); cin.tie(0);
//     int t = 1;
//     if(mutipletestcase) cin >> t; 
//     while(t--) solve();
// }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...