【BZOJ3769】spoj 8549 BST again Description 求有多少棵大小为n的深度为h的二叉树。(树根深度为0;左右子树有别;答案对1000000007取模) 求有多少棵大小为n的深度为h的二叉树。(树根深度为0;左右子树有别;答案对1000000007取模) Input ...
分类:
其他好文 时间:
2017-09-13 12:01:56
阅读次数:
180
直接做洛谷上面的快拍模板。。用了个log的小优化,时间瞬间优化三分之一。。 ...
分类:
编程语言 时间:
2017-09-13 11:56:33
阅读次数:
131
导入的项目查看svn地址:在项目上右键--subversion--relocate可以看到以前对应的svn地址。 重要的几个快捷键的使用方式: (1) alt+insert 成员变量封装 (2) alt+enter代码自动修复 (3) main+ctrl+J 自动生成main方法或者是psvm+Ta ...
分类:
其他好文 时间:
2017-09-13 11:53:40
阅读次数:
302
/* ============================================================================ Name : Hello.c Author : Version : Copyright : Your copyright notice De... ...
分类:
其他好文 时间:
2017-09-13 10:45:25
阅读次数:
105
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>圣杯/双飞翼布局</title> <style> /* 圣杯布局 */ /* .container{ padding:0 200px; } .center{ flo ...
分类:
其他好文 时间:
2017-09-13 09:51:19
阅读次数:
136
public class 打印素数 { public static void main(String args[]) { System.out.println("3--100之间的素数有:"); boolean isprime; int iCount=0; for(int i=3;i<=100;i+ ...
分类:
编程语言 时间:
2017-09-13 01:48:30
阅读次数:
219
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=6201 题目描述: 有一棵节点的树, 每条边有权值, 可以任意选择起点和终点, 得到一个值 = 终点值 - 经过的边权值 - 起点值, 最大化这个值 解题思路: 我们先要求得的值是每个节点有书的时候的最 ...
分类:
其他好文 时间:
2017-09-13 01:44:33
阅读次数:
174
//P61 2.15 import java.util.Scanner; public class test { public static void main(String[] args) { Scanner Hy=new Scanner(System.in); double x1,x2,y1,y... ...
分类:
编程语言 时间:
2017-09-13 01:43:33
阅读次数:
181
public class Chengfabiao { public static void main(String args[]) { System.out.println("九九乘法表"); int i,j; for(i=1;i<10;i++) { for(j=1;j<=i;j++) { Syst ...
分类:
编程语言 时间:
2017-09-13 01:34:05
阅读次数:
200
程序参数 /* 带参数的main函数 */ int main(int argc, char * argv[]) argc 是程序参数的个数 argv是一个代表参数自的字符串数组 例如: $ myprog left rigth "and center" 程序 myprog 将从main函数开始, ma ...
分类:
系统相关 时间:
2017-09-13 00:35:04
阅读次数:
179