# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1040790 | Aureum | Knapsack (NOI18_knapsack) | C++17 | 66 ms | 102056 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/*
o((>ω< ))o
o(≧口≦)o
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned ll
#define int ll
#define F first
#define S second
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
//#define endl "\n"
struct mrbeast{
int v; int w; int k;
};
struct roblox{
int w; int v;
};
void solve(){
int S,n,m;
cin >> S >> n;
vector<mrbeast> a_(1e5+10);
vector<roblox> a(3000);
vector<vector<int>> dp(3000,vector<int>(2005));
for (int i = 1; i <= n; i++) cin >> a_[i].v >> a_[i].w >> a_[i].k;
m = 0;
for (int i = 1; i <= n; i++){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |