Delta-wave
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 5611 Accepted Submission(s): 2137
Problem Description
A triangle field...
分类:
其他好文 时间:
2014-08-05 19:24:20
阅读次数:
235
== oeis:
点击打开链接
然后不知道哪里写挂了,贴个基友的代码刷人气啊,兄弟多刷新几下再走啊
import java.math.*;
import java.util.*;
import static java.lang.System.out;
public class Main {
static BigInteger x0 = new BigInteger("0");...
分类:
编程语言 时间:
2014-08-05 19:23:39
阅读次数:
286
准备工作: 先插入100万条数据for(i=0;i<=1000000;i++){ db.users.insert({ "i":i, "username":"user"+i, "age":Math.floor(Math.random()...
分类:
数据库 时间:
2014-08-05 13:54:29
阅读次数:
268
常用标准库:
assert.h:断言,包含assert宏。可以进行自我检查
ctype.h:字符处理,字符的分类,大小转换
errno.h:错误信息处理
float.h:浮点数特性
limits.h:整数的大小,提供了描述整数类型的宏
lcale.h:本地化
math.h:数学函数
setjmp.h:跳转
signal.h:信号处理
stdarg.h:可变长参数处理
stdd...
分类:
其他好文 时间:
2014-08-05 11:13:29
阅读次数:
264
卡特兰数 递推公式:h(n)=h(n-1)*(4*n-2)/(n+1); 1 import java.math.BigInteger; 2 import java.util.Scanner; 3 4 public class Main { 5 6 public static void m...
分类:
其他好文 时间:
2014-08-05 11:00:09
阅读次数:
222
div的异常抛给main来处理: class Math{ public int div(int i,int j)throws Exception{ int temp=i/j; return temp; } } public class ThrowsDemo01 { public static voi...
分类:
其他好文 时间:
2014-08-05 10:42:19
阅读次数:
221
function ramColor() { return '#' + ('00000' + (Math.random() * 0x1000000 << 0).toString(16)).slice(-6); }
分类:
Web程序 时间:
2014-08-04 21:00:58
阅读次数:
260
Paths on a Grid
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 21439
Accepted: 5259
Description
Imagine you are attending your math lesson at school. Once...
分类:
其他好文 时间:
2014-08-04 18:06:27
阅读次数:
298
一、Array二、Boolean三、Date四、Error五、EvalError六、Function七、JSON八、Math九、Number十、Object十一、RangeError十二、ReferenceError十三、RegExp十四、String十五、SyntaxError十六、TypeErr...
分类:
编程语言 时间:
2014-08-04 13:56:37
阅读次数:
232
HDU 2256 A Simple Math Problem (矩阵快速幂)
ACM
题目地址:HDU 2256 Problem of Precision
题意:
给出一个式子,求值。
分析:
推起来最后那步会比较难想。
具体过程见:
表示共轭只听说过复数的和图的...
这构题痕迹好明显...
跟基友开玩笑说:如果遇到这种题,推到Xn+Yn*s...
分类:
其他好文 时间:
2014-08-04 02:05:56
阅读次数:
226