利用最大公因数来求解 摘要:解题思路:注意事项:参考代码:# 求最大公因数 def cal(temp_1, temp_2): if(temp_1 == temp_2): return(temp_1)…… 题解列表 2022年03月26日 0 点赞 0 评论 409 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:## 1028: [编程入门]自定义函数求一元二次方程 https://www.dotcpp.com/oj/problem1028.html ## 解题思路 ax*x+b*x+c=0这个…… 题解列表 2022年03月26日 0 点赞 0 评论 425 浏览 评分:0.0
编写题解 1029: [编程入门]自定义函数处理素数 摘要:# 编写题解 1029: [编程入门]自定义函数处理素数 **https://www.dotcpp.com/oj/problem1029.html** ## 解题思路 1. 素数…… 题解列表 2022年03月26日 0 点赞 0 评论 527 浏览 评分:0.0
编写题解 1030: [编程入门]二维数组的转置(原数组改变) 摘要:# 1030: [编程入门]二维数组的转置 **https://www.dotcpp.com/oj/problem1030.html** ## 解题思路 注意: 1. **列必须要…… 题解列表 2022年03月26日 0 点赞 0 评论 415 浏览 评分:0.0
c语言解题目,yyds 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[10][10]; for(int i=0;i<…… 题解列表 2022年03月26日 0 点赞 0 评论 419 浏览 评分:0.0
(C++代码) 简单的字符串-题解 递归函数解法 摘要:#include<iostream> #include<string> #include<string.h> using namespace std; int Count;//记录相同的项的个…… 题解列表 2022年03月26日 0 点赞 0 评论 476 浏览 评分:0.0
2108: 抢夺资源 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; while(scanf("%d%d",&n,&m)!=EOF) { if(n%(m+1)…… 题解列表 2022年03月26日 0 点赞 0 评论 358 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ string id; string name; …… 题解列表 2022年03月26日 0 点赞 0 评论 443 浏览 评分:0.0
编写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string str; cin>>str; cout…… 题解列表 2022年03月26日 0 点赞 0 评论 460 浏览 评分:0.0
不好意思,直接输出了 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"95959"<<endl; return 0…… 题解列表 2022年03月26日 0 点赞 0 评论 416 浏览 评分:0.0