[编程入门]数组插入处理 (最简单最短,看不懂你打我) 摘要:解题思路:插入的位置有三种情况,都要改变数组位置注意事项:数的位置变化参考代码:int main(){ int a[9],n,i; for(i=0;i<9;i++){ sca…… 题解列表 2022年04月25日 0 点赞 0 评论 415 浏览 评分:0.0
C++输入输出控制 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a; ci…… 题解列表 2022年04月25日 0 点赞 0 评论 395 浏览 评分:0.0
输入输出格式控制 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int a,b,c; c…… 题解列表 2022年04月25日 0 点赞 0 评论 338 浏览 评分:0.0
水仙花数判断 摘要:解题思路:根据水仙花数的特点注意事项:缩进参考代码:for i in range(100,1000): a = i//100 b = i%100//10 c = i%10 if…… 题解列表 2022年04月25日 0 点赞 0 评论 439 浏览 评分:0.0
[编程基础]输入输出练习之第二个数字(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); printf(…… 题解列表 2022年04月25日 0 点赞 0 评论 468 浏览 评分:0.0
C++实现贷款计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; float c; cin>>a>>…… 题解列表 2022年04月25日 0 点赞 0 评论 801 浏览 评分:2.0
C++实现小数点控制 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int a; doubl…… 题解列表 2022年04月25日 0 点赞 0 评论 304 浏览 评分:0.0
求解长方形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2022年04月25日 0 点赞 0 评论 311 浏览 评分:0.0
C语言数组解决矩阵对角线求和 摘要:解题思路:1、矩阵选择使用二维数组 a[i][j] 来存储。2、使用二维数据存储和使用数据时,需要2个for循环来获取数据3、该矩阵的主对角线的数据特征是 i=j, 次对角线的数据特征是i+j=2注意…… 题解列表 2022年04月25日 0 点赞 0 评论 444 浏览 评分:0.0
1634: 蓝桥杯算法训练VIP-数组查找及替换 摘要:n,b=map(int,input().split()) l=list(map(int,input().split())) s=[] for i in l: if i%b!=0: …… 题解列表 2022年04月25日 0 点赞 0 评论 398 浏览 评分:0.0