题解列表

筛选

自定义函数之数字分离

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    char a[4];    scanf("%s",a);    i……

C++速度求解,够取巧

摘要:解题思路:暴力!按题目求解注意事项: 注意有局限性,万一人家输入的数组是乱序排放呢参考代码:#include <bits/stdc++.h>using namespace std;#define N ……

按照题目要求完成

摘要:解题思路:注意事项:参考代码:#include#include"math.h"using namespace std;uint8_t digitNum(uint32_t num) {//数字长度判断 ……

迭代法求平方根

摘要:解题思路:迭代法注意事项:x1和x2的赋值是为了什么要想清楚。参考代码:#include<stdio.h>#include<math.h>int main(){ int a=0; scanf("%d"……

自定义函数

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

二级java分段函数

摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main { public static void main(String[] args) { Scan……

递归遍历+先序创建树

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<stdio.h>using namespace std;typedef struct TreeNode{    ch……