优质题解 找到简单规律,一切迎刃而解,--混乱的数组-python题解 摘要:解题思路:借鉴了大佬的思想,在此表示崇敬和感谢。https://blog.dotcpp.com/a/95964 站在大佬的肩膀上,进一步发现了更容易编程的规律:每个x对应的数组由三个序列构成。整体思想…… 题解列表 2023年06月11日 1 点赞 0 评论 740 浏览 评分:7.3
自定义函数之字符串连接 摘要:解题思路:可以直接使用strcat函数来实现连接功能注意事项:注意gets函数要使用两次参考代码:#include<stdio.h>#include<string.h>int main(){ c…… 题解列表 2023年06月10日 0 点赞 0 评论 255 浏览 评分:9.9
1002:[编程入门]三个数最大值 摘要:解题思路: o=(a+b+abs(a-b))/2; nums=(o+c+abs(o-c))/2;求最值的式子,熟练了也可以用于数组求最值注意事项:一定要说注意的地方在哪的话,定义的数据类型算一个吧,l…… 题解列表 2023年06月10日 0 点赞 0 评论 254 浏览 评分:9.9
C++ 数据结构-直接插入排序 摘要:# C++手撕插排 ```c++ #include using namespace std; void Sort(int* nums, int n) { int i = 0, j = 0…… 题解列表 2023年06月10日 0 点赞 0 评论 370 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2023年06月10日 0 点赞 0 评论 196 浏览 评分:0.0
Hello, World!(C++) 摘要:#include<iostream>using namespace std;int main(){ cout<<"Hello, World!"<<endl; return 0;}…… 题解列表 2023年06月10日 0 点赞 0 评论 165 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d ",a/…… 题解列表 2023年06月10日 0 点赞 0 评论 267 浏览 评分:0.0
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d\n",a…… 题解列表 2023年06月10日 0 点赞 0 评论 213 浏览 评分:0.0
编写题解 2936: 简单算术表达式求值(C++) 摘要:解题思路:使用switch参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char ch; int a,b; …… 题解列表 2023年06月10日 0 点赞 0 评论 371 浏览 评分:9.9
浮点型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; double b; printf("%d %d",sizeof(a),siz…… 题解列表 2023年06月10日 0 点赞 2 评论 975 浏览 评分:9.9