蓝桥杯算法提高VIP-陶陶摘苹果2-题解(C++代码) 摘要:解题思路:思路见程序注意事项:输出的是不能摘的!!!!!参考代码:#include<bits/stdc++.h>int main(){ int n; int b;//手伸直能达到的最大高度 in…… 题解列表 2022年05月08日 0 点赞 0 评论 361 浏览 评分:9.9
编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 325 浏览 评分:0.0
编写题解 1008: [编程入门]成绩评定 摘要:#include <iostream> using namespace std; int a; int main() { cin>>a; switch(a/10){ case 10:co…… 题解列表 2022年05月07日 0 点赞 0 评论 328 浏览 评分:0.0
编写题解 1007: [编程入门]分段函数求值 摘要:#include<iostream> using namespace std; int main() { int x,y; cin>>x; if(x<1){ …… 题解列表 2022年05月07日 0 点赞 0 评论 325 浏览 评分:0.0
编写题解 1004: [递归]母牛的故事 摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2022年05月07日 0 点赞 0 评论 349 浏览 评分:0.0
用数组自定义函数之字符提取 摘要:#include <stdio.h>#define N 100void oppo(char sz1[],char sz2[]){ int m,n=0,i; m=strlen(sz1); for(i=0…… 题解列表 2022年05月07日 0 点赞 0 评论 314 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:#include <iostream>using namespace std;string a;int main(){ cin>>a; for(int i=0;i<=a.size()-1;i++) …… 题解列表 2022年05月07日 0 点赞 0 评论 357 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; cout<<max(max(a,…… 题解列表 2022年05月07日 0 点赞 0 评论 311 浏览 评分:0.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:#include <iostream> using namespace std; int main() { cout<<"**************************"<<en…… 题解列表 2022年05月07日 0 点赞 0 评论 236 浏览 评分:0.0
保留字母(C++代码) 摘要:解题思路:只需要判断是否位英文字母来进行输出就可以很方便的完成这道题;注意事项:我不知道有没有空格,但用getline会更保险;要判断大小写;参考代码:#include<bits/stdc++.h>/…… 题解列表 2022年05月07日 0 点赞 0 评论 350 浏览 评分:6.0