摘要:
A.三角形 经典暴力:由于不能构成三角形边长至少乘二,只用考虑最大的log个暴力 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 1e5 + 10; 4 typedef long long LL; 5 LL a 阅读全文
摘要:
礼物 背包 1 #include <bits/stdc++.h> 2 using namespace std; 3 int f[1111]; 4 5 int main() { 6 int T; 7 scanf("%d", &T); 8 while(T--) { 9 int N, M, K, P; 1 阅读全文