作者:梁志凡 2013-02-01 13:11:02来源:南方周末 作者:梁志凡 2013-02-01 13:11:02来源:南方周末 作者:梁志凡 标签 拉马努金 印度之子 数学天才 这位泰戈尔的同胞来自印度南端的泰米尔纳德邦,从未接受过正规数学训练的他具有惊人的数学直觉,独立发现了几千个数学公式 ...
分类:
其他好文 时间:
2018-06-07 23:01:28
阅读次数:
173
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 exist. ...
分类:
其他好文 时间:
2018-06-06 15:50:11
阅读次数:
126
1、下载elasticsearch6.2.1 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.1.tar.gz 2、解压安装 3、启动 因为es为防止远程执行一些脚本,所以启动需要建立一个新的gr ...
分类:
其他好文 时间:
2018-06-03 21:40:26
阅读次数:
167
Problem description Petya loves lucky numbers. Everybody knows that positive integers are lucky if their decimal representation doesn't contain digits ...
分类:
其他好文 时间:
2018-06-01 20:41:17
阅读次数:
237
// This file contains the implementation of Go channels. // Invariants: // At least one of c.sendq and c.recvq is empty, // except for the case of an ...
分类:
编程语言 时间:
2018-06-01 13:31:04
阅读次数:
180
题目描述: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in t ...
分类:
其他好文 时间:
2018-05-30 21:34:08
阅读次数:
185
class Solution { public: int leastBricks(vector>& wall) { unordered_map m; for (int i = 0; i < wall.size(); i++) for (int j = 0, t = 0; j < wall[i].si... ...
分类:
其他好文 时间:
2018-05-30 13:56:04
阅读次数:
152
1、问题描述: java 打包异常:ZIP file must have at least one entry 解决方案: 压缩的时候路径问题 2、问题描述:在使用FileInputStream时,读取文件的时候 at java.io.FileOutputStream.open(Native Met ...
分类:
其他好文 时间:
2018-05-30 11:04:20
阅读次数:
191
题目链接:http://codeforces.com/problemset/problem/2/B 题目大意: 给你一个nxn的矩形,找到一条从左上角到右下角的路径,使得该路径上所有数字的乘积的末尾0最少。解题思路:我们设k为2的因子数,m为5的因子数,那么一个数的末尾0的个数就是min(k,m)。 ...
分类:
其他好文 时间:
2018-05-29 13:14:17
阅读次数:
131
问题 F: AtCoDeer and Election Report 题目描述 AtCoDeer the deer is seeing a quick report of election results on TV. Two candidates are standing for the elec ...
分类:
其他好文 时间:
2018-05-26 20:24:10
阅读次数:
136