编写题解 2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>int main(){ int n,k=0; scanf("%d",&n); int a…… 题解列表 2024年11月10日 0 点赞 0 评论 209 浏览 评分:9.9
编写题解 2819: 数字反转(while循环)超简单方法! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,f=0; scanf("%d",&n); while(n!=0){ f=f*…… 题解列表 2024年11月10日 1 点赞 0 评论 326 浏览 评分:9.9
C++2784开瓶盖赢大奖题解 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a;cin >>a; if (a>=10||a>=20) { …… 题解列表 2024年11月10日 1 点赞 0 评论 144 浏览 评分:9.9
紧急措施(二维数组方法解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> int main() { char srr…… 题解列表 2024年11月10日 0 点赞 0 评论 197 浏览 评分:9.9
编写题解 1110: 2^k进制数 摘要:```cpp #include #include using namespace std; int pr,max2,tot=0; void dp(int bit,int n){ i…… 题解列表 2024年11月10日 0 点赞 0 评论 284 浏览 评分:9.9
2865: 紧急措施(结构体+函数解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>// 函数arr用于将字符串中的大写字母转换为小写字母,小写字母转…… 题解列表 2024年11月10日 0 点赞 0 评论 231 浏览 评分:9.9
蓝桥杯2018年第九届真题-约瑟夫环-题解(C++代码)简单理解的进一步解释 摘要:解题思路:大佬的代码逻辑太强,对此作进一步的解释说明此代码运用的其实是一种从后往前倒推的思想,我们先假设最后一个人的位置为0,即s=0,所以s+m即为倒数第二个人的报数位置,以此类推,直到推出第一个人…… 题解列表 2024年11月10日 0 点赞 0 评论 303 浏览 评分:9.9
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b; scanf("%f %f",&a,&b); printf("%.2f",…… 题解列表 2024年11月10日 0 点赞 0 评论 201 浏览 评分:9.9
紧急措施(详细注释) 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含三个字符数组a, b, c struct aa…… 题解列表 2024年11月10日 0 点赞 1 评论 211 浏览 评分:9.9
(超详细注释)关于 流感传染 的暴力解决方案(C/C++) 摘要:解题思路:使用for循环与二维数组进行暴力模拟解决注意事项:注意第一天已经给出,所以感染时间只有m-1天。注意二维数组类型应该是char,而不是int参考代码:#include using na…… 题解列表 2024年11月10日 0 点赞 0 评论 229 浏览 评分:9.9