結果

問題 No.3090 Knapsack Function
ユーザー eggkid6eggkid6
提出日時 2023-12-21 00:09:40
言語 C++17(clang)
(17.0.6 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 2,290 bytes
コンパイル時間 2,763 ms
コンパイル使用メモリ 159,028 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-12-21 00:09:45
合計ジャッジ時間 3,950 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 2 ms
6,676 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
6,676 KB
testcase_06 AC 2 ms
6,676 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 2 ms
6,676 KB
testcase_11 WA -
testcase_12 AC 2 ms
6,676 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 2 ms
6,676 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < ll(n); ++i)
#define rep2(i, s, n) for (ll i = s; i < ll(n); ++i)
#define per(i, n) for (ll i = ll(n) - 1; i >= 0; --i)
#define per2(i, s, n) for (ll i = ll(n) - 1; i >= s; --i)
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
#define fix(n) cout << fixed << setprecision(n);
using namespace std;
using ll = long long;
using ld = long double;
using V = vector<ll>;
using P = pair<ll,ll>;
using M = map<ll,ll>;
using S = set<ll>;
using Q = queue<ll>;
using PQ = priority_queue<ll>;
using VV = vector<V>;
using VVV = vector<VV>;
using VVVV = vector<VVV>;
using VVVVV = vector<VVVV>;
using VVVVVV = vector<VVVVV>;
using VS = vector<string>;
using VP = vector<P>;
using VB = vector<bool>;
template <class T>
using PQG = priority_queue<T, vector<T>, greater<T>>;
template <class S, class T>
constexpr bool chmin(S &a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template <class S, class T>
constexpr bool chmax(S &a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}
template <class T>
void Vin(vector<T> &v) {
    for (T &a : v) cin >> a;
}
template <class T>
void VVin(vector<vector<T>> &v) {
    for (int i = 0; i < v.size(); ++i) Vin(v[i]);
}
template <class T>
void Vout(vector<T> &v) {
    for (T &a : v) cout << a << " ";
    cout << endl;
}
template <class T>
void Voutl(vector<T> &v) {
    for (T &a : v) cout << a << endl;
}
constexpr ll power(ll a, ll b) {
    ll res = 1;
    while (b) {
        if (b & 1) res *= a;
        a *= a;
        b >>= 1;
    }
    return res;
}
constexpr ll mpower(ll a, ll b, const ll &m) {
    a %= m;
    ll res = 1;
    while (b) {
        if (b & 1) res = res * a % m;
        a = a * a % m;
        b >>= 1;
    }
    return res;
}
constexpr bool in_field(int i, int j, int h, int w) {
    return i >= 0 && j >= 0 && i < h && j < w;
}
const string yes[] = {"no", "yes"};
const string Yes[] = {"No", "Yes"};
const string YES[] = {"NO", "YES"};
const int H[] = {1, 0, -1, 0};
const int W[] = {0, 1, 0, -1};
constexpr ll mod = 998244353;
constexpr ll MOD = 1000000007;
constexpr ll INF = 1LL << 60;

int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    cout << "No\n";
}
0