挑战这道题最复杂的题解! 摘要:解题思路:这个题不难,但是我写的很复杂。通过调用两个函数来计算是第几天,大家略看一下就能懂。注意事项:我这种写法太浪费时间,看看就好,还是建议用两个数组代替我这两个函数。参考代码:#include<s…… 题解列表 2023年02月10日 0 点赞 0 评论 335 浏览 评分:9.9
2976: 字符串中最长的连续出现的字符 摘要:```cpp #include using namespace std; int main() { char str[200]; int count=0,max=0,f; …… 题解列表 2023年02月10日 0 点赞 0 评论 466 浏览 评分:9.9
简单明了,通俗易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,i; double sum=0.0,H,a; scanf("%d",&h); …… 题解列表 2023年02月10日 0 点赞 1 评论 1071 浏览 评分:9.9
<循环>求数组里面的最大值(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n, arr[1000], max=0; scanf("%d", &n); for …… 题解列表 2023年02月10日 0 点赞 0 评论 1068 浏览 评分:9.9
编写题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[1001],maxx=1; cin>>n; …… 题解列表 2023年02月11日 0 点赞 0 评论 528 浏览 评分:9.9
无数组版(暂时不是很喜欢用数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a,g,b=0,t; scanf("%d",&n); for(i=0;i<n;…… 题解列表 2023年02月11日 0 点赞 0 评论 605 浏览 评分:9.9
c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; if (x<1) …… 题解列表 2023年02月11日 0 点赞 0 评论 702 浏览 评分:9.9
2770: 计算浮点数相除的余数 摘要:```cpp #include using namespace std; int main() { double a,b; int k; cin>>a>>b; …… 题解列表 2023年02月11日 0 点赞 0 评论 877 浏览 评分:9.9
链表合并(C手写链表) 摘要:解题思路:注意事项:参考代码:#include<stdlib.h> #include<stdio.h> typedef struct student { int num; int m…… 题解列表 2023年02月11日 0 点赞 0 评论 382 浏览 评分:9.9
菲波那契数列(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int k,sum; int f1 = 1, f2 = 1; cin …… 题解列表 2023年02月11日 0 点赞 0 评论 598 浏览 评分:9.9