c语言 [编程入门]自由下落的距离计算<stdio.h> 摘要:解题思路:可以画示意图来辅助理解,因为计算的是路程,且题目明确表明每次运动都有上升和下降两个部分,所以除了最初的M的值外,其余的经计算的M值都要乘2经过累加这样才是路程。又因为在计算过程中M值会失真,…… 题解列表 2023年01月26日 0 点赞 1 评论 411 浏览 评分:9.9
回文数(python中函数的递归) 摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) count = 0 &n 题解列表 2023年01月26日 0 点赞 0 评论 985 浏览 评分:9.9
快 速 排 序 摘要:```c #include #include int gg(const void*x,const void*y) { return *(int*)x-*(int*)y; } int m…… 题解列表 2023年01月26日 0 点赞 0 评论 795 浏览 评分:9.9
C++的通俗易懂方法 摘要:解题思路:拆解题目的过程,一次接一次地分析反弹的过程,从而能分析出反弹过程的共性和不同点注意事项:参考代码:#include <iostream>#include<cmath>#include<iom…… 题解列表 2023年01月27日 0 点赞 0 评论 650 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d %d…… 题解列表 2023年01月27日 0 点赞 1 评论 772 浏览 评分:9.9
过滤多余空格,不可能有比这还简单的!!!!!一看就懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; char s[1000]; gets(s); for(i=0;s[i]!='…… 题解列表 2023年01月27日 0 点赞 0 评论 893 浏览 评分:9.9
2177 信息学奥赛一本通T1252-走迷宫(c++bfs版) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年01月27日 0 点赞 0 评论 936 浏览 评分:9.9
2797: 最高的分数 摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; …… 题解列表 2023年01月29日 0 点赞 0 评论 869 浏览 评分:9.9
2969: 打印月历 摘要:```cpp #include using namespace std; int fun(int a,int b,int q); int main() { int i,j,m,n,…… 题解列表 2023年01月29日 0 点赞 0 评论 933 浏览 评分:9.9
2972: 除以13(c++代码) 摘要:```cpp #include #include using namespace std; const int N=1e5+10; void fwrite(int n) { if(n>…… 题解列表 2023年01月29日 0 点赞 0 评论 621 浏览 评分:9.9