http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/16_Automatic_Reference_Counting.html本页包含内容:自动引用计数的工作机制自动引用计数实践类实例之间的循环强引...
分类:
其他好文 时间:
2015-01-18 22:24:43
阅读次数:
248
Digit CountingTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %llu Submit Status DescriptionTrung is bored with his mathematics homewor...
分类:
其他好文 时间:
2015-01-18 21:04:17
阅读次数:
219
B - Counting BST Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 5058DescriptionBinary Search Tree (BST) ...
分类:
其他好文 时间:
2015-01-18 11:46:37
阅读次数:
161
12075 - Counting TrianglesTriangles are polygons with three sides and strictly positive area. Lattice triangles are the triangles all whose vertexes h...
分类:
其他好文 时间:
2015-01-15 23:33:17
阅读次数:
159
适配器模式将一个类的接口,转化成客户期望的另一个接口,适配器让原本接口不兼容的类可以合作无间public interface Sheep{ public void run(); public void ho();}public class Wolf{ public void run...
分类:
其他好文 时间:
2015-01-15 20:03:30
阅读次数:
197
题目:数星星,给你一个二维的矩阵,数里面的单个'*'的个数(周围8个方向不能有'*')。
分析:图论,搜索,floodfill。直接统计面积位移的区域个数即可。
说明:太长时间没刷题了╮(╯▽╰)╭。
#include
#include
#include
using namespace std;
char sky[101][101];
int dxy[8][2] = {1,-1,...
分类:
其他好文 时间:
2015-01-13 21:37:08
阅读次数:
313
Auto packing the repository for optimum performance. You may alsorun "git gc" manually. See "git help gc" for more information.Counting objects: 9231,...
分类:
其他好文 时间:
2015-01-10 16:21:28
阅读次数:
1394
Problem Description
There are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color of a continuous stone, black to white, white to...
分类:
其他好文 时间:
2015-01-09 23:50:47
阅读次数:
468
Problem Description Given n integers. You have two operations: U A B: replace the Ath number by B. (index counting from 0) Q A B: output the len...
分类:
其他好文 时间:
2015-01-08 00:52:30
阅读次数:
194
1914: [Usaco2010 OPen]Triangle Counting 数三角形Time Limit: 10 SecMemory Limit: 64 MBSubmit: 272Solved: 143[Submit][Status]Description在一只大灰狼偷偷潜入Farmer Don...
分类:
其他好文 时间:
2015-01-04 16:51:02
阅读次数:
159