# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
319685 | qpwoeirut | Skyscraper (JOI16_skyscraper) | C++17 | 205 ms | 91132 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
const int MN = 14;
const int MX = 101;
const int MOD = 1e9 + 7;
int N, L;
int A[MN];
int dp[1 << MN][MN][MX];
void add(int& a, const int b) {
a += b;
if (a >= MOD) a -= MOD;
}
int main() {
cin.tie(0)->sync_with_stdio(0);
cin >> N >> L;
for (int i=0; i<N; ++i) {
cin >> A[i];
}
int ans = 0;
if (N <= 8) {
sort(A, A+N);
do {
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |