1660: 蓝桥杯算法训练VIP-装箱问题 摘要:```cpp #include #include using namespace std; int a[30]; int find(int x,int c) { if(c=0) …… 题解列表 2023年02月24日 0 点赞 0 评论 334 浏览 评分:9.9
2140: 信息学奥赛一本通T1295-装箱问题 摘要:```cpp #include #include using namespace std; int a[30]; int find(int x,int c) { if(c=0) …… 题解列表 2023年02月24日 0 点赞 0 评论 386 浏览 评分:9.9
1292: 判断奇偶 摘要:```cpp #include using namespace std; int main() { string s; int n; cin>>n; w…… 题解列表 2023年02月24日 0 点赞 0 评论 365 浏览 评分:9.9
1051: [编程入门]结构体之成绩统计2 摘要:#题目没有说清保留几位小数或者只输出整数,经过我的测试,输出的成绩只要整数即可 ```cpp #include using namespace std; struct Student …… 题解列表 2023年02月24日 0 点赞 1 评论 457 浏览 评分:9.9
1412: 矩阵的幂 摘要:```cpp #include #include using namespace std; typedef long long LL; class M { public: …… 题解列表 2023年02月25日 0 点赞 0 评论 399 浏览 评分:9.9
1450: 蓝桥杯2014年第五届真题-矩阵翻硬币 摘要:```cpp #include #include using namespace std; string StrMul(string s1,string s2) { string …… 题解列表 2023年02月25日 0 点赞 0 评论 476 浏览 评分:9.9
c语言 数组加 循环 ,速度 10ms (代码有点长,可ac) 摘要:解题思路: 1.处理 0 的个数,遍历到0 的时候,判断 左右是否为 数字,为数字 直接continue,不为数字 直接 zero++, zero 表示是0的个数 …… 题解列表 2023年02月25日 0 点赞 0 评论 392 浏览 评分:9.9
1047: [编程入门]报数问题 摘要:# 这是一个自我感觉有难度的题,要是没有好的方法可能要写半天! ###### 在一开始写的时候我没有好的方法导致我用土方法写花了大量的时间,得不偿失,后面我转换了思路,用数组成员代替围成一圈的人,问…… 题解列表 2023年02月25日 0 点赞 1 评论 261 浏览 评分:9.9
1013: [编程入门]Sn的公式求和 摘要:```cpp #include #include using namespace std; int f(int n){ int s=0; for(int i=1;i> …… 题解列表 2023年02月25日 0 点赞 1 评论 220 浏览 评分:9.9
蓝桥杯2022年第十三届决赛真题-打折(C/C++/Java组) 摘要:解题思路:记录所有物品在哪一天开始打折,在哪一天结束打折离散化所有时间,先暴力所有物品未打折的最小值(使用multiset快速找出),再枚举每一天,计算贡献,快速得出当天花费的最小值,最终即可得出答案…… 题解列表 2023年02月25日 0 点赞 0 评论 917 浏览 评分:9.9