[编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2023年06月20日 0 点赞 0 评论 178 浏览 评分:0.0
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=0,b=0; while(~scanf("%d%d", &a, &b)) //下面有…… 题解列表 2023年06月20日 0 点赞 0 评论 196 浏览 评分:0.0
2861-验证子串 摘要:解题思路:实际上本题用到了数据结构的思想,采用最传统的暴力法,不断的比较注意事项:参考代码:int main(){ char s1[201]; char s2[201]; int len1…… 题解列表 2023年06月20日 0 点赞 1 评论 287 浏览 评分:0.0
C++ string 蓝桥杯算法训练VIP-字符删除 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string s; char …… 题解列表 2023年06月20日 0 点赞 0 评论 157 浏览 评分:0.0
蓝桥杯算法提高VIP-盾神与砝码称重 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define maxlen 28int n, m;int fm[maxlen]; int…… 题解列表 2023年06月19日 0 点赞 0 评论 405 浏览 评分:0.0
查找最接近的元素-折半/二分查找 摘要:解题思路:折半/二分查找,必须采用顺序存储。在有序的数组中,取中间值作为比较对象,若给定值与中间记录的关键字相等,则查找成功;若给定值小于中间值记录的关键字,则在中间记录的左半区继续查找;若给定值大于…… 题解列表 2023年06月19日 0 点赞 0 评论 298 浏览 评分:0.0
if解题,正常解法 摘要:解题思路:正常思路注意事项:参考代码:#include <stdio.h>int main (){int a;scanf ("%d",&a);if (100>=a&&a>=90) { …… 题解列表 2023年06月19日 0 点赞 2 评论 192 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double score[10],aver = 0; int i,sum=0; for (i …… 题解列表 2023年06月19日 0 点赞 0 评论 209 浏览 评分:0.0
2种递归写法 摘要:解题思路: #include <bits/stdc++.h>using namespace std;int pd(int m){ if(m<=0) return 0; if(m==1) r…… 题解列表 2023年06月19日 1 点赞 0 评论 233 浏览 评分:0.0
哇靠送分题*2 摘要:解题思路:思考注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; while(cin>>a>>b>…… 题解列表 2023年06月19日 0 点赞 0 评论 628 浏览 评分:0.0