前段时间在网上看到一些准备找工作的人会在LintCode上刷题,然后我今天上去看了一下,也打算开始做题,然后把每天做的题目和以后的优化记录下来。 2017年8月6日 21:17:27 第一题: 描述:给定一些 points 和一个 origin,从 points 中找到 k 个离 origin 最近 ...
分类:
其他好文 时间:
2017-08-06 23:10:00
阅读次数:
238
Bomb Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 19122 Accepted Submission(s): 7068 Problem ...
分类:
其他好文 时间:
2017-08-05 21:13:28
阅读次数:
236
题目: Reverse digits of an integer. Have you thought about this? Here are some good questions to ask before coding. Bonus points for you if you have alr ...
分类:
其他好文 时间:
2017-08-05 15:41:13
阅读次数:
125
Visible Lattice Points Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7450 Accepted: 4536 Description A lattice point (x, y) in the first ...
分类:
其他好文 时间:
2017-08-05 00:23:16
阅读次数:
182
Visible Lattice Points Consider a N*N*N lattice. One corner is at (0,0,0) and the opposite one is at (N,N,N). How many lattice points are visible from ...
分类:
其他好文 时间:
2017-08-05 00:09:53
阅读次数:
135
Chef and Rainbow Array Problem Code: RAINBOWA Chef likes all arrays equally. But he likes some arrays more equally than others. In particular, he love ...
分类:
其他好文 时间:
2017-08-05 00:05:06
阅读次数:
196
题目链接:http://abc043.contest.atcoder.jp/tasks/abc043_b Time limit : 2sec / Memory limit : 256MB Score : 200 points Problem Statement Sig has built his o ...
分类:
移动开发 时间:
2017-08-04 22:51:47
阅读次数:
266
Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement Iroha is very particular about numbers. There are K digits that she disl ...
分类:
其他好文 时间:
2017-08-04 21:29:08
阅读次数:
260
1 import stddraw 2 import stdio 3 # Read and set the x- and y- scales 4 x0 = stdio.readFloat() 5 y0 = stdio.readFloat() 6 x1 = stdio.readFloat() 7 y1 ... ...
分类:
其他好文 时间:
2017-08-03 14:53:04
阅读次数:
96
面向过程的写法:public class Points{ public static void main(String[] args){ qw(1,2); } public static void qw(double x1, double y1,){ System.out.println((x1+y ...
分类:
其他好文 时间:
2017-08-03 12:45:09
阅读次数:
209