You are given two integers nn and dd . You need to construct a rooted binary tree consisting of nn vertices with a root at the vertex 11 and the sum o ...
分类:
其他好文 时间:
2020-03-09 10:32:58
阅读次数:
52
#include <iostream>#include <string>using namespace std;const long MAX_LEN = 50;int main (){ int Left[MAX_LEN] = {0}; int Right[MAX_LEN] = {0}; string ...
分类:
其他好文 时间:
2020-03-09 01:37:44
阅读次数:
87
1、案例1 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>计算属性</title> </head> <body> <div id=" ...
分类:
其他好文 时间:
2020-03-08 19:46:29
阅读次数:
56
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
其他好文 时间:
2020-03-08 14:00:21
阅读次数:
58
1 """ 2 Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must ...
分类:
其他好文 时间:
2020-03-07 09:40:06
阅读次数:
81
1 a = eval(input('请输入一个数字:')) 2 n = eval(input('请输入次数n:')) 3 sum = [] 4 sum2 = 0 5 s1 = 0 6 i = 0 7 while i <= n-1: 8 s1 =s1+(a*(10**i)) 9 sum.append( ...
分类:
其他好文 时间:
2020-03-07 09:23:17
阅读次数:
78
参考:https://blog.csdn.net/akikang/article/details/80796331 form 设置了name属性,比如<form name="art_form"> <input name="user"> 就可以通过var username = art_form.use ...
分类:
其他好文 时间:
2020-03-06 20:14:24
阅读次数:
100
注:.pfx 主要用于windows平台,浏览器可以使用,也是包含证书和私钥,获取私钥需要密码才可以 .pfx文件生成的方式可参考:https://www.cnblogs.com/ouyanxia/p/12427955.html 1、准备好pfx秘钥文件(alias默认是1) path=/RSA/o ...
分类:
编程语言 时间:
2020-03-06 19:22:19
阅读次数:
107
```java import java.util.Scanner; import java.io.BufferedInputStream; public class Main{ public static void quickSort(int[] q,int l,int r){ if(l>=r) r... ...
分类:
编程语言 时间:
2020-03-06 17:17:01
阅读次数:
77
DBUtil.java package com.helloechart; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLExceptio ...
分类:
其他好文 时间:
2020-03-05 15:17:51
阅读次数:
177