結果
| 問題 | No.8090 Knapsack Function |
| コンテスト | |
| ユーザー |
eggkid6
|
| 提出日時 | 2023-12-21 00:09:40 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 2,290 bytes |
| コンパイル時間 | 1,963 ms |
| コンパイル使用メモリ | 161,552 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-27 10:18:53 |
| 合計ジャッジ時間 | 3,109 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 15 |
ソースコード
#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";
}
eggkid6