# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
942493 | 2024-03-10T18:06:17 Z | attky | Detecting Molecules (IOI16_molecules) | C++17 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; int[] find_subset(int l, int u, int[] w) { int n = sizeof(w) / sizeof(int); sort(w, w + n); for(int loop = 1; loop <= n; ++loop) { if(l <= w[0]*loop && w[0]*loop <= u) { int tab[loop]; for(int looping = 0; looping < loop; ++looping) { tab[looping] = w[0]; } return tab; } } int tab[0]; return tab; }