제출 #347399

#제출 시각아이디문제언어결과실행 시간메모리
347399iliccmarko게임 (IOI14_game)C++14
0 / 100
1 ms492 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long #define endl "\n" #define INF 1000000000 #define LINF 1000000000000000LL #define pb push_back #define all(x) x.begin(), x.end() #define len(s) (int)s.size() #define test_case { int t; cin>>t; while(t--)solve(); } #define single_case solve(); #define line cerr<<"----------"<<endl; #define ios { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cerr.tie(NULL); } #define mod 1000000007LL int cnt = 0; int n; void initialize(int N) { n = N; } int hasEdge(int u, int v) { cnt++; if((n*(n-1)/2)-cnt+1<=n-1) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...