BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a ...
分类:
其他好文 时间:
2018-09-16 18:37:19
阅读次数:
221
题意 题目链接 求 $F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100)$的最小值 Sol 强上模拟退火,注意eps要开大! ...
分类:
其他好文 时间:
2018-09-13 10:22:46
阅读次数:
119
题目链接: "HDU 1548" Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 include include incl ...
分类:
其他好文 时间:
2018-09-05 21:52:26
阅读次数:
160
Python is like a programming language that's based on a snake. It is a weird language,is is strange,is's not easily understood by others.Welcome to be ...
分类:
编程语言 时间:
2018-09-01 15:18:24
阅读次数:
187
内建函数 bulid-in fuction id() 标识,返回对象的唯一标识,Cpython返回内存地址hash() 返回对象的哈希值type() 返回对象的类型str() 返回字符串 int() bin() hex() oct() bool() complex() list() tuple() ...
分类:
其他好文 时间:
2018-08-17 22:25:06
阅读次数:
195
java 8 新加了 lambda 表达式,当接口是一个 @FunctionalInterface 时可以使用 lambda 表达式代替 Function典型的应用场景为:A. 1个只有1个方法的接口,避免写匿名类; B. 接受Fuction接口为参数的方法 1 lambda 函数式编程特性 函数式 ...
分类:
编程语言 时间:
2018-08-12 15:42:08
阅读次数:
199
A strange liftTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32529 Accepted Submission(s): 11664 ...
分类:
其他好文 时间:
2018-08-07 19:02:30
阅读次数:
182
一、JQuery等待加载JQuery库元素是在body元素加载之前加载的。在延迟等待加载,JavaScript提供了一个事件load,方法如下:window.onload=fuction(){};//很少用,因为交互假死,方法覆盖$(document).ready(function(){});//可以定义多个,不会覆盖只会一次加载他们的区别在于:二、JQuery解决库冲突的方法因为$代表的就是JQ
分类:
Web程序 时间:
2018-07-25 12:41:36
阅读次数:
193
1、每个代码都是博主一个字一个敲出来的(有参考,但是我很认真的去分析了每个函数逻辑结构,并做了一定的修改)2、函数都已经通过测试,没有bug,符合要求3、这里只贴出代码,代码里有些本人的理解和注释,但是没有那么详细 代码分为 main.c list_declaration.h fuction.h f ...
分类:
其他好文 时间:
2018-07-24 13:16:54
阅读次数:
134
Problem Description Now, here is a fuction: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100)Can you find the minimum value when x is between 0 and ...
分类:
其他好文 时间:
2018-07-16 21:09:36
阅读次数:
170