Objective-C Properties Apple introduced properties, a combination of new compiler directivesand a new attribute accessor syntax. Apple 引入了属性这一概念。新的编译器...
分类:
其他好文 时间:
2015-05-09 14:44:44
阅读次数:
103
The basic idea is to use prototype chaining to inherit properties and methods on the prototype and to use constructor stealing to inherit instance p.....
分类:
其他好文 时间:
2015-05-08 17:52:50
阅读次数:
115
Description
Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent people’s memories about some period of li...
分类:
其他好文 时间:
2015-05-07 22:12:48
阅读次数:
198
A. Combination Lock拨密码。。最少次数。。密码最多有1000位。用字符串存起来,然后每位大的减小的和小的+10减大的,再取较小值加起来就可以了。。。#include#include#include#include#include#include#include#include#in...
分类:
其他好文 时间:
2015-05-07 21:47:48
阅读次数:
130
今天唯一的成果就是把上次几个人一起开房打的那场cf补一下。A. Combination Lock此等水题看一眼样例加上那个配图我就明白题意了,可是手抽没有注释掉freopen,WA了一发。 1 #include 2 using namespace std; 3 4 const int maxn .....
分类:
其他好文 时间:
2015-05-06 01:11:47
阅读次数:
224
* [PHP: a fractal of bad design][1] * [YourLanguageSucks][2] * [PHPWTF][3] [1]: http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ [2]: https://wiki.theory.org/YourLanguageSucks#PHP_sucks_b...
分类:
Web程序 时间:
2015-05-05 20:00:28
阅读次数:
99
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where
the candidate numbers sums to T.
Each number in C may only b...
分类:
其他好文 时间:
2015-05-04 15:33:51
阅读次数:
91
A - Combination Lock
题意:
给两个密码,为最小多少次能吻合。
思路:
对于每一位设a
#include
using namespace std;
int main()
{
int n;
char x[1234],y[1234];
while(cin>>n)
{
scanf("%s%s",x,y);
int ans...
分类:
其他好文 时间:
2015-05-04 10:07:11
阅读次数:
129
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where
the candidate numbers sums to T.
The same repeated number may be chosen ...
分类:
其他好文 时间:
2015-05-03 23:45:39
阅读次数:
142
感觉这次的题目顺序很不合理啊...A. Combination LockScrooge McDuck keeps his most treasured savings in a home safe with a combination lock. Each time he wants to pu.....
分类:
其他好文 时间:
2015-05-02 20:41:04
阅读次数:
197