1. Question: 495. Teemo Attacking https://leetcode.com/problems/teemo-attacking/ In LOL world, there is a hero called Teemo and his attacking can make ...
分类:
其他好文 时间:
2018-11-22 23:56:46
阅读次数:
272
2d平台跳跃游戏当相机移动的时候背景跟随进行微调移动,从而使得玩家获得3d的错觉 using System.Collections;using System.Collections.Generic;using UnityEngine; public class BackGroundParallax ...
分类:
移动开发 时间:
2018-11-22 00:05:16
阅读次数:
509
Design a HashMap without using any built-in hash table libraries. To be specific, your design should include these functions: put(key, value) : Insert ...
分类:
编程语言 时间:
2018-11-21 12:17:06
阅读次数:
166
用set来做,seat() O(n),leave() O(logn) 注意一些边界情况和下标即可,最容易遗漏的就是最左边和最右边的位置。 ...
分类:
其他好文 时间:
2018-11-20 14:58:47
阅读次数:
410
题目传送门 题目大意:给出一棵树,再给出m条非树边,先割掉一条树边,再割掉一条非树边,问有几种割法,使图变成两部分。 思路:每一条 非树边会和一部分的树边形成一个环,分三种情况: 对于那些没有形成环的树边来说,割掉这条边,就已经使图分离,然后随便割一条非树边就可以了,所以这样的边每次答案加上m。 对 ...
分类:
Web程序 时间:
2018-11-19 21:35:00
阅读次数:
168
2792. Grammar Lessons Petya got interested in grammar on his third year in school. He invented his own language called Petya's. Petya wanted to create ...
分类:
其他好文 时间:
2018-11-18 14:58:05
阅读次数:
173
源码: 错误:Java.lang.Throwable: A WebView method was called on thread 'JavaBridge'. ...
分类:
移动开发 时间:
2018-11-14 15:30:33
阅读次数:
422
Almost Arithmetical Progression CodeForces - 255C Gena loves sequences of numbers. Recently, he has discovered a new type of sequences which he called ...
分类:
其他好文 时间:
2018-11-11 15:57:37
阅读次数:
212
From:http://www.math.uwaterloo.ca/tsp/uk/index.html Shortest possible tour to nearly every pub in the United Kingdom. Line drawing of the optimal rout ...
分类:
其他好文 时间:
2018-11-10 21:18:52
阅读次数:
206
Gender Equality in the Workplace A new batch of young women - members of the so-called Millennial generation - has been entering the workplace for the ...
分类:
其他好文 时间:
2018-11-08 13:20:41
阅读次数:
1140