编写题解 1203: 多输入输出练习2 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>#include <iomanip>#define PI 3.1415using namespace …… 题解列表 2022年03月28日 0 点赞 0 评论 329 浏览 评分:0.0
题解 1065: 二级C语言-最小绝对值 摘要:解题思路:函数 min 获得最小值列表方法 index 获得下标两位置值交换即可注意事项:务必注意,是在原始输入的10个数中调换位置错了4遍才看出来参考代码:arr = list(map(int,in…… 题解列表 2022年03月28日 0 点赞 1 评论 760 浏览 评分:6.0
简易for循环+数组解决傻瓜式教学 摘要:解题思路:第一层for循环遍历1~N所有数字,第二层for循环在每一个遍历的数字中查找因数,并用数组存储因数,之后在用if确定是否是完数而是否输出其因数即可。注意事项:在第一层每一次的for循环中要把…… 题解列表 2022年03月28日 0 点赞 0 评论 556 浏览 评分:0.0
编写题解 1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int max = 0; while(…… 题解列表 2022年03月28日 0 点赞 0 评论 231 浏览 评分:0.0
编写题解 1184: 众数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[1000]; int n; cin>>n…… 题解列表 2022年03月28日 0 点赞 0 评论 344 浏览 评分:0.0
自定义字符串连接(C语言-指针) 摘要:解题思路:一开始使用string.h的头文件,然后思考有没有不需要借用其他函数,自己进行可链接的函数,然后用指针想出下面的方法。仅仅是用指针的一种学习。参考代码:#include<stdio.h> …… 题解列表 2022年03月28日 0 点赞 1 评论 682 浏览 评分:8.0
矩阵的幂【写个快速幂矩阵】 摘要:整数快速幂的求解:[快速幂][快速幂] 矩阵快速幂的不同,在于初始情况乘单位矩阵,而非乘1,并且采用矩阵乘法,而非普通整数乘法 ```cpp #include #include using …… 题解列表 2022年03月28日 0 点赞 0 评论 488 浏览 评分:9.9
编写题解 1183: 人见人爱A+B 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a,b,c,d…… 题解列表 2022年03月28日 0 点赞 0 评论 336 浏览 评分:0.0
看来我把题想的难了 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int sum,t;int main(){ char c; while(c =…… 题解列表 2022年03月28日 0 点赞 0 评论 430 浏览 评分:0.0
编写题解 2015: 自动晾衣机 摘要:解题思路:注意事项:参考代码:l=int(input()) while True: try: ls=list(map(int,input().split())) …… 题解列表 2022年03月28日 0 点赞 0 评论 391 浏览 评分:0.0