题解列表
Java简单的a+b
摘要:Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
int a=sc.nextInt();
int b=sc.nextInt();
……
Cylinder最大圆柱体积
摘要:解题思路:pi的精度11位注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
const double pi = ……
1114: C语言考试练习题_排列(dfs)
摘要:解题思路:dfs全排列注意事项:题目的输出顺序, 依次排除第 4 - 1 个数字参考代码:#include<iostream>
#include<cmath>
using namespace st……
IP判断(sscanf格式化读入)
摘要:解题思路:sscanf注意事项:参考代码:#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
cha……
IP地址-python-正则表达式
摘要:解题思路:正则表达式区间0-9 \d 10-99 [1-9]\d 100-199 1\d{2} 200-249 2[0-4]\d ……
1117: K-进制数-递归求解
摘要:解题思路: 认真看题,找规律,可以发现该题目可以通过递归求解:n=1时,[1-9]n=2时,9*[0-9]n=3时,9*{n-1的}+9*{n-2的}依次类推……参考代码:n = int(inp……