Digital DeletionsTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2130Accepted Submission(s): 747Pr...
分类:
其他好文 时间:
2015-03-30 20:47:58
阅读次数:
149
【费马大定理】1、费马大定理。 2、费马大定理与质数。 3、x^4+y^4=z^4没有正整数解。 后续略。。。
分类:
其他好文 时间:
2015-03-30 20:45:30
阅读次数:
115
static变量:1、当我们同时编译多个文件时,所有未加static前缀的全局变量和函数都具有全局可见性。即其他文件可以访问它们。如果加了static,就会对其它源文件隐藏,利用这一特性可以在不同的文件中定义同名函数和同名变量,而不必担心命名冲突。2、存储在静态数据区的变量会在程序刚开始运行时就完成...
分类:
其他好文 时间:
2015-03-30 20:44:16
阅读次数:
113
1、下载软件 rzsz-3.34.tar.gz,登录linux,用命令wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz下载。2、解压 tar zxvf rzsz-3.34.tar.gz3、安装cd rzsz-3.34 ; make p...
分类:
其他好文 时间:
2015-03-30 20:45:06
阅读次数:
127
http://www.2cto.com/kf/201404/292468.htmlhttp://www.eoeandroid.com/forum.php?mod=viewthread&tid=333209&page=1#pid4001350https://github.com/nemothekid/...
分类:
其他好文 时间:
2015-03-30 20:45:08
阅读次数:
120
前言: 对弈类游戏的智能算法, 网上资料颇多, 大同小异. 我写这篇文章, 并非想做互联网的搬运工. 而是想对当年的经典>表达敬意, 另一方面, 也想对自己当年的游戏编程人生做下回顾. 这边我们以黑白棋游戏为例, 从博弈和学习两方面来阐述游戏AI的编写要点. 本文侧重于讲述博弈(评估函数+博弈算.....
分类:
其他好文 时间:
2015-03-30 20:44:08
阅读次数:
163
[n/x] = yxx = [n/y] 则xx是最大的被除数,使得商向下取证不变。 1 /************************************************************** 2 Problem: 2301 3 User: idy002 4 ...
分类:
其他好文 时间:
2015-03-30 20:44:26
阅读次数:
144
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class...
分类:
其他好文 时间:
2015-03-30 20:43:58
阅读次数:
119
最大覆盖Time Limit:1000MS Memory Limit:32768KTotal Submit:20 Accepted:7 Description 我们定义一条线段,首先可以认为它在X轴上,它的起点为(a,0)终点为(b,0),所以我们可以简化成[a,b]。现在我们有N条这样的线段都位于...
分类:
其他好文 时间:
2015-03-30 20:41:15
阅读次数:
129
double h,g,x,m; Console.Write("性别(男,女):"); string s = Console.ReadLine(); Console.Write("请输入您的身高"); h = Convert.Todouble(Console.ReadLine()); Con...
分类:
其他好文 时间:
2015-03-30 20:41:16
阅读次数:
128
一般在开发的时候使用debug,开发完成后使用error有三个部分构成:Loggers(记录器):日志类别Appenders (输出源):日志要输出的地方Layouts(布局):日志以何种形式输出控制台(Console)、文件(Files)等,可以根据天数或者文件大小产生新的文件,可以以流的形式发送...
分类:
其他好文 时间:
2015-03-30 20:43:22
阅读次数:
112
[javascript]view plaincopyprint?op=Object.prototype,ostring=op.toString,...functionisFunction(it){returnostring.call(it)==='[objectFunction]';}functio...
分类:
其他好文 时间:
2015-03-30 20:40:39
阅读次数:
129
1.0matlab中rand函数是产生0到1的随机分布2.0matlab中randn函数是产生标准正态分布3.0randint是产生整数随机数,默认为0和11.0rand%%%%%%%%%%%rand%%%%%%%%%%%%%%%%RAND Uniformly distributedrandomnu...
分类:
其他好文 时间:
2015-03-30 20:42:51
阅读次数:
182
题目如下:题目挺长的,其实只需要关注第一行就OK了。这道题思路挺明显的,对于图来说要么BFS,要么DFS,至于具体细节,我觉得与138题:Copy List with Random Pointer很像。在BFS或DFS过程中,可能要调整顶点的邻接点,这个时候不要忘了它的邻接点可能还没有创建。所以,有...
分类:
其他好文 时间:
2015-03-30 20:39:14
阅读次数:
159
#include #include #include int main(){ std::string s; // assign(size_type count, CharT ch) s.assign(4, '='); std::cout ilist) s.assign({ 'C', '...
分类:
其他好文 时间:
2015-03-30 20:39:54
阅读次数:
144
支持iOS6/6 Plus的时候碰到这样一个问题:塞在UITableViewCell里的UIPageControl居中设置失败了,偏右刚刚设置时下断点查看(6Plus模拟器):>运行后:>好奇在什么时候被改变的,考虑搞个内存修改断点,上lldb,听从忠告检测CALayer的frame改动而不是UIV...
分类:
其他好文 时间:
2015-03-30 20:36:29
阅读次数:
619
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two...
分类:
其他好文 时间:
2015-03-30 20:38:15
阅读次数:
122