Skip to content

Commit

Permalink
2024-02-12 평범한 배낭
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkms committed Feb 12, 2024
1 parent 4f785f8 commit e17a20e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions rivkms/DP/12865.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ using namespace std;

int main(){
int n, k;

cin >> n >> k;
vector<pair<int, int>> wv(n+z1, pair<int, int>(0,0));
vector<pair<int, int>> wv(n+1, pair<int, int>(0,0));
vector<vector<int>> value (n+1, vector<int>(k+1, 0));

for(int i = 1; i<=n; i++){
cin >> wv[i].first >> wv[i].second;
}
Expand Down
2 changes: 1 addition & 1 deletion rivkms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

| 차시 | 날짜 | 문제유형 | 링크 | 풀이 |
|:----:|:---------:|:----:|:-----:|:----:|
| 1차시 | 2024.02.12 | DP | [평범한 배낭](https://www.acmicpc.net/problem/12865) | [#1][#1](https://github.com/AlgoLeadMe/AlgoLeadMe-7/pull/#) |
| 1차시 | 2024.02.12 | DP | [평범한 배낭](https://www.acmicpc.net/problem/12865) | [#1][#1](https://github.com/AlgoLeadMe/AlgoLeadMe-7/pull/3) |
---

0 comments on commit e17a20e

Please sign in to comment.