ArrayList<E>E是自定义数据类型
ArrayList类: 构造函数: 成员方法:
public boolean add(E e):
将指定元素加到集合末尾
Appends the specified element to the end of this list.
public class Array {public static…
录音 Facebook 2 Retelling|Facebook2 复述转写
Hi, Im Helen Campbell, from DJ interpretation, European Commission, Im going to talk about Facebook. You Im sure that you are more familiar with Facebook, a lot, a lot more familiar than I than me. But Ive read…
01背包
01背包-1
#include <bits/stdc.h>
using namespace std;const int N 1e5 10;
int n, m, f[N][N], v[N], w[N];int main() {cin >> n >> m;for (int i 1; i < n; i) {cin >> v[i] >> w[i];}for (int i 1; i < n; i) {for (int…