矩阵乘法(二维数组)(简单易懂) 摘要:解题思路:for (int x = 0; x < m; x++) {:这是一个循环,它遍历了矩阵A的第i行和矩阵B的第j列的每个元素。x是一个循环变量,从0开始逐渐增加,直到小于m(矩阵A的列数或矩阵…… 题解列表 2023年11月11日 0 点赞 0 评论 373 浏览 评分:6.0
三位数分解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int three,ge,shi,bai; cin>>t…… 题解列表 2023年11月12日 0 点赞 0 评论 199 浏览 评分:6.0
矩阵对角线求和 摘要: x1,x2,x3 = map(int,input().split()) x4,x5,x6 = map(int,input().split()) x7,x8,x9 = map(int,inp…… 题解列表 2023年11月12日 0 点赞 0 评论 511 浏览 评分:6.0
3011: 余数相同问题 摘要:``` #include using namespace std; int main(){ int a,b,c,x=2; cin>>a>>b>>c; for( int i=1; ;i…… 题解列表 2023年11月13日 0 点赞 0 评论 227 浏览 评分:6.0
弟弟的作业:C语言,只用stdio.h 摘要:解题思路:除了循环那部分其他都没啥难的,我用的goto形成循环,通过输入计算式之后的回车或EOF来决定是否继续。不知道为什么我的编译器,在输入EOF之后,有时候会输出,有时候不输出,但是在调试的时候他…… 题解列表 2023年11月14日 0 点赞 0 评论 252 浏览 评分:6.0
储蓄简单方法 摘要:解题思路:注意事项:参考代码:sum = 0list1 = []count = 0sum_mom = 0flag = 1 #若不破产flag = 1for i in range(12): #12个月 …… 题解列表 2023年11月14日 0 点赞 0 评论 332 浏览 评分:6.0
萌新出品 2758: 打印ASCII码 摘要:注意事项:记得给个好评参考代码:#include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(in…… 题解列表 2023年11月16日 0 点赞 0 评论 278 浏览 评分:6.0
甲流疫情死亡率嘿嘿嘿 摘要:解题思路:嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿注意事项:嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿嘿参考代码:#include<bits/stdc++.h>using namespace std;int main(){ dou…… 题解列表 2023年11月16日 0 点赞 1 评论 400 浏览 评分:6.0
2789: 骑车与走路Python 摘要:解题思路:注意事项:参考代码:a=int(input())bike=(a/3)+27+23walk=a/1.2if bike>walk: print('Walk')elif bi…… 题解列表 2023年11月18日 0 点赞 0 评论 319 浏览 评分:6.0
hello,world题解! 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"Hello,World!"; …… 题解列表 2023年11月18日 0 点赞 0 评论 384 浏览 评分:6.0