제출 #1029380

#제출 시각아이디문제언어결과실행 시간메모리
1029380OspleiDetecting Molecules (IOI16_molecules)C++17
9 / 100
1 ms440 KiB
#include <bits/stdc++.h> #include "molecules.h" using namespace std; typedef pair<int,int> ii; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<ii> vii; typedef vector<vii> wgraf; typedef pair<int,ii> edge; typedef vector <ll> vl; typedef pair <ll, ll> LL; typedef vector <LL> vll; #define UNVISITED 0 #define VISITED 1 #define pb push_back #define F first #define S second vi find_subset(int l, int u, vi w){ ll suma = 0, n = w.size(); vi ans; for (ll i = 0; i < n; i++) { suma += w[i]; ans.pb(i); if (suma >= l && suma <= u) return ans; } vi nada; return nada; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...