题解列表

筛选

数据结构--链表的基本操作

摘要:解题思路:该咋写就咋写注意事项:该咋写就咋写参考代码://累死我了,写这么多代码好累啊,写了1个小时,我还是太菜了#include<iostream>#include<cstring……

2812: 球弹跳高度的计算

摘要:解题思路:简单的数学规律问题注意事项:从第二次运动开始到结束,球的运动路程遵循规律,所以i从2开始计算。最后汇总时加上第一次的高度(初始高度)参考代码:#include <stdio.h>……

题解 3326-易于理解:法一+法二

摘要:解题思路:可分为五个部分,复制到编译器会好看一点注意事项:参考代码:#include<bits/stdc++.h>//常用组合头文件usingnamespace……

3020:最大数位置

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],max,i,pos; scanf("%d",&……

最简单Sn求和

摘要:参考代码:n=int(input())b=0a=0for _ in range(n): a=a*10+2 b+=aprint(b)……

啦啦啦啦啦啦

摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ double result=1; for(int i=1;i<=n;i++){……

酷酷酷酷酷酷酷酷酷

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double num[10]; int minindex……