제출 #558498

#제출 시각아이디문제언어결과실행 시간메모리
558498Trunkty게임 (IOI14_game)C++14
0 / 100
0 ms212 KiB
#include <iostream> #include <vector> #include <algorithm> #include "game.h" using namespace std; typedef long long ll; #define DEBUG #ifdef DEBUG #define debug(x) cout << #x << ": " << x << endl #else #define debug(x) #endif int tot; bool arr[1505][1505]; void initialize(int n){ tot = n*(n-1)/2; } int hasEdge(int u, int v){ tot--; if(tot or arr[u][v] or arr[v][u]){ arr[u][v] = true; return 0; } return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...