2786: 判断能否被3、5、7整除(c语言解法) 摘要:解题思路:用if - else if - else 来写,括号里面配合&&和||来增加条件注意事项:只有if和else if后面可以加()写条件,else的后面不能加()写条件参考代码:#includ…… 题解列表 2023年07月03日 0 点赞 0 评论 1046 浏览 评分:6.0
2796: 求整数的和与均值(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; int i; for(i=0;i…… 题解列表 2023年07月06日 0 点赞 0 评论 664 浏览 评分:6.0
人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; int n; cin…… 题解列表 2023年07月08日 0 点赞 0 评论 420 浏览 评分:6.0
2814: 正常血压 摘要:注意事项:C++语言,别弄错了参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0;…… 题解列表 2023年07月10日 0 点赞 0 评论 507 浏览 评分:6.0
数组逆序重放 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int a[100];int main(int argc, char** argv) { int n;…… 题解列表 2023年07月11日 0 点赞 0 评论 363 浏览 评分:6.0
3016: 第几项 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,s = 0; cin>>a; for(int…… 题解列表 2023年07月11日 0 点赞 0 评论 341 浏览 评分:6.0
1+1=3型号计算器 摘要:解题思路:参考代码:#include<bits/stdc++.h> int choise_F(char A); int main(){ int x,y; char A; while(sc…… 题解列表 2023年07月12日 0 点赞 0 评论 574 浏览 评分:6.0
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路: 1、创建三个整形变量 2、输入他们 3、输出第二个整形变量参考代码:#include<iostream> using namespace std; int main(…… 题解列表 2023年07月14日 0 点赞 0 评论 383 浏览 评分:6.0
整理药名(C++)简单实用 摘要:代码解析:参考代码:#include <iostream>#include <string>#include <cctype>using namespace std;string formatMedi…… 题解列表 2023年07月16日 0 点赞 0 评论 678 浏览 评分:6.0
2836: 数组逆序重放 摘要:参考代码:#includeusing namespace std;int a[1000000];int main(){ int n; cin>>n; for(int i=1; i<=…… 题解列表 2023年07月17日 0 点赞 0 评论 520 浏览 评分:6.0