제출 #1107748

#제출 시각아이디문제언어결과실행 시간메모리
1107748kaopj게임 (IOI14_game)C++17
42 / 100
24 ms3920 KiB
/******************** * what the sigma * ********************/ #include <iostream> #include <vector> #include <map> #include <queue> #include <algorithm> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; #define ordered_set tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> using namespace std; #define lgm cin.tie(0)->sync_with_stdio(0); #define be(x) x.begin(),x.end() #define ve vector #define ll long long #define f first #define s second #define pii pair<int, int> #define tii tuple<int,int,int> #define pll pair<ll,ll> #define sz(x) (int)x.size() #define pb push_back const int mod = 1e9+7,maxn=100005; void initialize(int n) {} int cnt[1501]; bool hasEdge(int u,int v) { return ++cnt[max(u,v)]==max(u,v); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...