C++2784开瓶盖赢大奖题解 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a;cin >>a; if (a>=10||a>=20) { …… 题解列表 2024年11月10日 1 点赞 0 评论 227 浏览 评分:9.9
如何用C语言结构体解决谁拿了最多奖学金 摘要:解题思路:用结构体代表学生的信息,通过函数得到每个学生的奖学金,在进行对比。注意事项:认真即可参考代码:#include <stdio.h>//定义结构体,totalbons是每个学生的奖学金。str…… 题解列表 2024年11月10日 0 点赞 0 评论 258 浏览 评分:0.0
2863: 删除单词后缀(暴力解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; scanf("%s",a); i…… 题解列表 2024年11月10日 0 点赞 0 评论 311 浏览 评分:10.0
最简单易懂的解法{1019} 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double M,N,h=0,H=0; scanf("%lf%lf",&M,&N); for…… 题解列表 2024年11月10日 0 点赞 0 评论 183 浏览 评分:0.0
信息学奥赛一本通车厢重组,冒泡排序 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量a用于存储输入的整数个数,s…… 题解列表 2024年11月10日 0 点赞 0 评论 429 浏览 评分:0.0
紧急措施(二维数组方法解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> int main() { char srr…… 题解列表 2024年11月10日 0 点赞 0 评论 262 浏览 评分: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 评论 371 浏览 评分:9.9
2865: 紧急措施(结构体+函数解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>// 函数arr用于将字符串中的大写字母转换为小写字母,小写字母转…… 题解列表 2024年11月10日 0 点赞 0 评论 317 浏览 评分:9.9
1005: [编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float F,c; scanf("%f",&F); c=5*(F-32)/9; pri…… 题解列表 2024年11月10日 4 点赞 0 评论 1184 浏览 评分:0.0
蓝桥杯2018年第九届真题-约瑟夫环-题解(C++代码)简单理解的进一步解释 摘要:解题思路:大佬的代码逻辑太强,对此作进一步的解释说明此代码运用的其实是一种从后往前倒推的思想,我们先假设最后一个人的位置为0,即s=0,所以s+m即为倒数第二个人的报数位置,以此类推,直到推出第一个人…… 题解列表 2024年11月10日 0 点赞 0 评论 432 浏览 评分:9.9