1587: 蓝桥杯算法训练VIP-Buying Sets 摘要:```cpp #include #include #include #include using namespace std; const int MAXN=305,INF=1…… 题解列表 2023年01月13日 0 点赞 0 评论 451 浏览 评分:9.9
1236: 母牛生小牛 摘要:```cpp #include using namespace std; int count(int year) { if(year>N; cout…… 题解列表 2023年01月13日 0 点赞 0 评论 392 浏览 评分:9.9
2104: 释放魔法 摘要:```cpp #include using namespace std; int n,m,h[1000][1000],v[3][3]; int fun(int x,int y) { …… 题解列表 2023年01月13日 0 点赞 2 评论 254 浏览 评分:6.0
1235: 检查金币 摘要:```cpp #include #include #include using namespace std; int w,r[10]={1,3,9,27,81,243,729,2187,65…… 题解列表 2023年01月13日 0 点赞 0 评论 502 浏览 评分:7.0
1234: 检查一个数是否为质数 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) { …… 题解列表 2023年01月13日 0 点赞 0 评论 455 浏览 评分:9.6
1233: 核电站问题 摘要:```cpp #include using namespace std; int main() { int n; long long dp[50]={0,2,4,7}; …… 题解列表 2023年01月13日 0 点赞 0 评论 469 浏览 评分:9.9
1232: 查找最大元素 摘要:```cpp #include #include using namespace std; int main() { string str; while(cin>>str…… 题解列表 2023年01月13日 0 点赞 0 评论 408 浏览 评分:9.9
1231: 杨辉三角 摘要:```cpp #include using namespace std; int main() { int n,a[30][30]; while(cin>>n) …… 题解列表 2023年01月13日 0 点赞 0 评论 377 浏览 评分:6.0
1230: 最小重量机器设计问题 摘要:```cpp #include #include using namespace std; const int maxn=1001; int n,m,d,c[maxn][maxn],w[ma…… 题解列表 2023年01月13日 0 点赞 0 评论 547 浏览 评分:9.9
归并排序python解法 摘要:参考代码:def merge_sort(li): #数组长度不超过两个则不需要排序,直接返回 if len(li) <= 1: return mid=len(li)//…… 题解列表 2023年01月13日 0 点赞 0 评论 458 浏览 评分:9.9