编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:#include <iostream> using namespace std; int main() { cout<<"**************************"<<en…… 题解列表 2022年05月07日 0 点赞 0 评论 453 浏览 评分: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 评论 527 浏览 评分: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 评论 612 浏览 评分: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 评论 575 浏览 评分:0.0
编写题解 1004: [递归]母牛的故事 摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2022年05月07日 0 点赞 0 评论 608 浏览 评分:0.0
编写题解 1007: [编程入门]分段函数求值 摘要:#include<iostream> using namespace std; int main() { int x,y; cin>>x; if(x<1){ …… 题解列表 2022年05月07日 0 点赞 0 评论 541 浏览 评分: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 评论 570 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 631 浏览 评分:0.0
1004: [递归]母牛的故事 摘要:# include<stdio.h> int fun(int n) { if(n<=3) return n; else return fun(n-1)+fun(n-3); }…… 题解列表 2022年05月08日 0 点赞 0 评论 730 浏览 评分:0.0
编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:n=eval(input()) sum=0 a=0 for i in range(n): a=a*10+2 sum+=a print(sum)…… 题解列表 2022年05月08日 0 点赞 0 评论 632 浏览 评分:0.0