Train Problem I
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 20521 Accepted Submission(s): 7712
Problem Description
As the ne...
分类:
其他好文 时间:
2014-08-09 15:56:18
阅读次数:
222
Rails
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 24762
Accepted: 9715
Description
There is a famous railway station in PopPush City. Country there is...
分类:
其他好文 时间:
2014-08-09 13:30:17
阅读次数:
286
前提介绍:服务器上网站IIS发布,服务器上安装了VS2008(亲,自带水晶报表的哟)。服务器版本2003。本地用VS2010采用push模式做的报表。 ????? ? 从开始到结束,尼玛,不知道牺牲了咱多少脑细胞。好吧,不...
分类:
其他好文 时间:
2014-08-09 11:53:59
阅读次数:
224
对STL的优先队列,map,set的小总结,望指正。...
分类:
其他好文 时间:
2014-08-09 11:44:57
阅读次数:
269
//5种迭代器,为了激活重载机制,定义的5个类型。每种迭代器就是一个类型。
struct input_iterator_tag{};
struct output_iterator_tag{};
struct forward_iterator_tag : public input_iterator_tag{};
struct bidirectional_iterator_tag:public fo...
分类:
其他好文 时间:
2014-08-09 11:43:17
阅读次数:
275
//BFS#include #include using namespace std;bool used[8][8];int move[8][2]={1,2, -1,2, -2,1, -2,-1, -1,-2, 1,-2, 2,-1, 2,1};struct position{ int i,j...
分类:
其他好文 时间:
2014-08-09 11:21:17
阅读次数:
245
好像是哈希吧 直接枚举绝对会超时要分为两组 先把ab记录然后求出对应的cd这题其实还有很多不解的地方比如结尾的 *16还有神奇的stl#include#include#include#include#include#include#include#define mem(a,b) memset(a,b...
分类:
其他好文 时间:
2014-08-09 02:28:46
阅读次数:
244
C++为我们提供了安全的内存空间申请方式与释放方式,但是new与delete表达式却是把空间的分配回收与对象的构建销毁紧紧的关联在一起。实际上,作为与C语言兼容的语言,C++也为我们提供了更加底层的内存操作方式的。
谈C++就离不开STL,考虑一下vector
template class T>
void Vector::push_back(const T& t)
{
// are w...
分类:
编程语言 时间:
2014-08-09 00:14:07
阅读次数:
409