In this week, we did a coding kata, the subject is to select the top two teams of football group match results. The requirements are listed below. The number of team is not limited. The score will be +3 when it wins, the score will be 0 if lose, othe…
Coding Kata简介 如何进行Kata练习 亲身感受 Coding Kata简介 前段时间听到一个比较有意思的概念叫做Coding Kata,今天试了一下来说说一些想法和思考.Kata是一个日语,意思大体上是日本武术的套路,没有找到比较好的中文翻译来解释Coding Kata这个词. Coding Kata是一种练习编程能力的一种方法,它要求程序员在拿到一个简单的联系以后进行重复的编码.比如说,第一次快速的按照需求写出来了能工工作的程序,然后抛弃可以工作的第一个版本,重头开始第二轮的编码,…
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=648&page=show_problem&problem=5159 In normal football games, the winner team gets 3 points, loser team gets 0 point, and if there is a drawgame, bot…
Zen Coding 插件 ============== 下载: Zen.Coding-Notepad++.v0.7.zip ==Installation== 1. Copy contents of this archive into Notepad++ 'plugins' folder (basically, it's C:\Program Files\Notepad++\plugins\) 2. Restart Notepad++ You should see "Zen Coding&quo…
http://blog.csdn.net/ldghd/article/details/9632455 *****************************      一      ************************** AssetBundle incompatibility 1   I just started receiving the following error: The asset bundle 'http://***.unity3d' couldn't be lo…
463. Island Perimeterhttps://leetcode.com/problems/island-perimeter/就是逐一遍历所有的cell,用分离的cell总的的边数减去重叠的边的数目即可.在查找重叠的边的数目的时候有一点小技巧,就是沿着其中两个方向就好,这种题目都有类似的规律,就是可以沿着上三角或者下三角形的方向来做.一刷一次ac,但是还没开始注意codestyle的问题,需要再刷一遍. class Solution { public: int islandPerime…
很久以前就见过的...最基本的概率DP...除法配合位运算可以很容易的判断下一场要和谁比.    from——Dinic算法                         Football Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2499   Accepted: 1258 Description Consider a single-elimination football tournament involving…
The Android University ACM Team Selection Contest Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述  Now it's 20000 A.D., and the androids also participate in the ACM Inter-national Collegiate Programming Contest (ACM/ICPC). In order to sele…
Football Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3469   Accepted: 1782 Description Consider a single-elimination football tournament involving 2n teams, denoted 1, 2, …, 2n. In each round of the tournament, all teams still in the…
Football Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2882   Accepted: 1466 Description Consider a single-elimination football tournament involving 2n teams, denoted 1, 2, …, 2n. In each round of the tournament, all teams still in the…