using System;using System.Collections.Generic;using System.Text;using log4net;using System.Threading;using DTcms.Common;using Lucene.Net.Store;using S...
分类:
其他好文 时间:
2015-01-27 12:52:58
阅读次数:
251
1. Class1My name is PrinceLadies and gentlemen,my name is prince .I'm an excellent teacher in rocky school and my hobby is music,Ladies and gentlemen,...
分类:
其他好文 时间:
2015-01-27 10:49:41
阅读次数:
191
Unique Binary Search TreesGivenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a to...
分类:
其他好文 时间:
2015-01-27 00:16:11
阅读次数:
218
ARM指令集6种类型(53种主要助记符) :数据处理指令(22种主要助记符)跳转指令(4种主要助记符)Load/Store指令(16种主要助记符)程序状态寄存器指令(2种主要助记符)协处理器指令(5种主要助记符)软件中断指令 (2种主要助记符)数据处理指令数据处理指令大致可分为3类:数据传送指令;算...
分类:
其他好文 时间:
2015-01-26 18:46:47
阅读次数:
284
之前都是使用同事封装好的mysql类,今天做性能测试时自己手动编写了查询mysql的操作。偶然发现mysqli::query(或者mysqli_query)有一个参数$resultmode取值为MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT。平时封装好的类中都是使用...
分类:
数据库 时间:
2015-01-26 16:49:03
阅读次数:
227
100个iOS开发/设计程序员面试题汇总,你将如何作答?雪姬2015-01-25 19:10:49工作职场评论(0)无论是对于公司还是开发者或设计师个人而言,面试都是一项耗时耗钱的项目,本文作者Cameron Banga从编程、设计、App Store等各个方面对iOS开发者及设计师在面试时可能会遇...
分类:
移动开发 时间:
2015-01-26 14:57:48
阅读次数:
150
这次的CF挺水的,当时B题犯了一个很SB的错误,浪费了好多时间,所以D和E也没来得及看。sad,。。
A - Amr and Music
水题,从小的开始选。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace st...
分类:
其他好文 时间:
2015-01-26 10:21:54
阅读次数:
298
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s...
分类:
其他好文 时间:
2015-01-26 07:42:23
阅读次数:
158
A. Amr and Music (贪心)水题,没能秒切,略尴尬。 1 #include 2 #include 3 using namespace std; 4 5 const int maxn = 100 +10; 6 int a[maxn], r[maxn], ans[maxn]; 7 ...
分类:
其他好文 时间:
2015-01-26 06:30:33
阅读次数:
152
好久没写题了,底下代码都比较糟糕,将就着看吧。。507A Amr and Music要学最多的乐器,所以我们贪心选择时间花费少的。注意这里可以直接用pair,就不必写struct的compare函数了 1 #include 2 #include 3 #include 4 using namespac...
分类:
其他好文 时间:
2015-01-25 19:28:01
阅读次数:
204