二维数组的转置java 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2023年09月12日 0 点赞 0 评论 245 浏览 评分:0.0
使用pow()函数求幂次方 摘要:解题思路:pow() 方法 double pow (double x,double y);参数说明:x:双精度数。底数y:双精度数。指数返回值:x 的 y 次方的值例如: pow( 3 , 4 ) …… 题解列表 2023年09月12日 0 点赞 0 评论 124 浏览 评分:0.0
猴子吃桃的问题 摘要:解题思路: 从剩下一个桃那天一直反推前一天的桃子数,直到求出第一天桃子总数注意事项:参考代码:#include<iostream> using namespace st…… 题解列表 2023年09月12日 0 点赞 0 评论 99 浏览 评分:0.0
自定义函数之字符串反转java 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2023年09月12日 0 点赞 0 评论 155 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h> typedef struct linkedstack { int data; st…… 题解列表 2023年09月13日 0 点赞 0 评论 187 浏览 评分:0.0
自定义函数之字符串连接java 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2023年09月13日 0 点赞 0 评论 287 浏览 评分:0.0
与7无关的数(自定义函数) 摘要:参考代码: ```c #include int m(int a)//这个函数是判断它的十进制表示法中某一位上的数字是否为7,感觉放在主函数太挤了,干脆拿出来了 { int b=a,k…… 题解列表 2023年09月13日 0 点赞 0 评论 192 浏览 评分:0.0
C语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct linkednode{ int data; struct …… 题解列表 2023年09月13日 0 点赞 0 评论 146 浏览 评分:0.0
求分数序列和(辗转相除法?) 摘要:注意事项: 规律:p/q,p+q/p ……,这么一个规律,用辗转相除法就很好做了,第一次接触这个方法,还是在求最大公约数和最小公倍数,不记得了的xd,可以回去看看 参考代码: ```c #i…… 题解列表 2023年09月13日 0 点赞 0 评论 204 浏览 评分:0.0
求出e的值(byd,小心点 存放n!的数要用double类型) 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); double e=1,a=1;//a是用来存放n!的,记得用浮点类型…… 题解列表 2023年09月13日 0 点赞 0 评论 199 浏览 评分:0.0