自由下落的距离计算 摘要:解题思路:每次返回看成原高度一半的三倍注意事项:最后一次掉落不返回参考代码:#include <iostream>#include <iomanip> using namespace std;int …… 题解列表 2021年03月31日 0 点赞 0 评论 571 浏览 评分:0.0
怎么就两组测试数据啊? 还有哪里能提交吗????????????????????????????????????????????????????????????????????????? 题解列表 2021年03月30日 0 点赞 1 评论 451 浏览 评分:0.0
简单明了c++求n内的素数 摘要:```cpp #include using namespace std; int main() { int n,i; cin>>n; for(i=2;i…… 题解列表 2021年03月30日 0 点赞 0 评论 623 浏览 评分:6.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void Mystrcat(char str1[],char str2[]){ int n,i,j; for(i=strlen(str…… 题解列表 2021年03月30日 0 点赞 0 评论 494 浏览 评分:0.0
蓝桥杯基础练习-特殊回文数(java)(17行)(高效少耗时) 摘要:解题思路:利用回文数的对称性,两种区别在于是否用变量存回文数参考代码:最高效:(第一种)import java.util.Scanner; public class Main { publ…… 题解列表 2021年03月30日 0 点赞 0 评论 1112 浏览 评分:9.9
函数 就是对字符数组进行加工的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int CompactIntegers(int *a,int b){ int i,j,k=0; for(i=0;i<b;i+…… 题解列表 2021年03月30日 0 点赞 0 评论 785 浏览 评分:0.0
C语言初学者 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[60],i; for(i=1;i<=4;i++) { …… 题解列表 2021年03月30日 0 点赞 0 评论 421 浏览 评分:6.0
函数的调用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void GetReal(char *a){ printf("please input a number:\n"); get…… 题解列表 2021年03月30日 0 点赞 0 评论 478 浏览 评分:0.0
求最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int a,int b){ int x,y; x = a; y = b; int t; i…… 题解列表 2021年03月30日 0 点赞 0 评论 561 浏览 评分:0.0
自定义函数之字符类型统计 摘要:#include<stdio.h>#include<string.h>int main(void){ char a[100]; int i; int len; int zimu=0,shuzi=0,k…… 题解列表 2021年03月30日 0 点赞 0 评论 471 浏览 评分:0.0