제출 #1006519

#제출 시각아이디문제언어결과실행 시간메모리
1006519kebineGame (IOI14_game)C++17
100 / 100
207 ms8808 KiB
#include <bits/stdc++.h>
#include "game.h"
using namespace std;
// #define int long long
// #define ld long double
// #define fi first
// #define se second
// #define pb push_back
// #define pii pair<int, int>
// #define piii pair<pair<int, int>, pair<int, int>>
// #define pip pair<int, pair<int, int>>
int n;
int freq[1505];
void initialize(int x)
{
    n = x;
}
int hasEdge(int u, int v)
{
    freq[max(u,v)]++; 
    if(freq[max(u,v)] == max(u,v)){
        return 1; 
    }
    else return 0; 
}
// signed main()
// {
//     ios_base::sync_with_stdio(false);
//     // cin.tie(NULL);
//     cout.tie(NULL);
// }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...