题解列表

筛选

自由下落的距离计算

摘要:解题思路:计算经过路程,下一次弹起高度注意事项:最后减去重复加的路程即可参考代码:#include<stdio.h>int main(){    float M,N,sum=0;    scanf("……

2775: 等差数列末项计算

摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int a,b,c;    cin >>a>>b>>c;    cout<……

蓝桥杯算法提高VIP-P0102

```c#include#includeintDec(char*str);intmain(){charstr[4]={0};//存放输入的三个字符gets(str);intdec=Dec(str);//printf("%Hex:%#x\nDecimal:%d\nOctal:%04o\n",

实现strcmp函数(c语言)

```c#include#includeintmy_strcmp(char*s1,char*s2);intmain(){charstr1[100]={0},str2[100]={0};gets(str1);gets(str2);printf("%d",

含k个3的数

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {         Scanner sc = ……