Jayden-[解释通俗易懂,一看就会! ] 复数求和(结构体&&功能模块化) 摘要:解题思路: 题目是想求链表中复数之和,那么我们可以从链表入手,我的思路是:将第二个节点就当作是最后要求和的节点,把第二个节点之后的所有节点的数据都加在这个节点上,最后是输出headNod…… 题解列表 2024年03月12日 0 点赞 0 评论 594 浏览 评分:9.9
想回到小学上课了 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年03月12日 0 点赞 0 评论 761 浏览 评分:9.9
1020: [编程入门]猴子吃桃的问题--倒过来看问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0,x=1; scanf("%d",&n); for(int i=1;i<n;i++) { x=2…… 题解列表 2024年03月12日 0 点赞 0 评论 500 浏览 评分:9.9
使用sort方法自定义cmp实现排序,直接进行大小比较 解题思路:整体思路是将要比较的字符串放入一个字符数组里面,为了便于写cmp方法进行比较,我在这里用结构体将其保存,开了1000的长度是因为一开始我开了10怎么也通过不了第二个测试点,检查算法没有问题,回想了十多分钟才意识到很可能第二个测试点的字符串过长我开的空间不够所以就改成了1000, 题解列表 2024年03月12日 0 点赞 0 评论 799 浏览 评分:9.9
1108: 守望者的逃离(双线牛逼) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,s,t; cin>>m>>s>>t; i…… 题解列表 2024年03月12日 1 点赞 0 评论 783 浏览 评分:9.9
1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int number(int i){ if(i<=2) return 1; else return number(i-1)+number…… 题解列表 2024年03月12日 0 点赞 0 评论 521 浏览 评分:9.9
1112: C语言考试练习题_一元二次方程 摘要:解题思路:就数学公式的基本应用注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int m…… 题解列表 2024年03月12日 1 点赞 0 评论 593 浏览 评分:9.9
2750: 字符菱形 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);Stringa=sc.nextLine();for(int 题解列表 2024年03月12日 1 点赞 0 评论 1125 浏览 评分:9.9
1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:傻逼题目限制得put,get才能通过#include<iostream>#include<cstring>using namespace std;int main(){ …… 题解列表 2024年03月12日 0 点赞 0 评论 482 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char ch1[100],c…… 题解列表 2024年03月12日 1 点赞 0 评论 508 浏览 评分:9.9