DROP TYPE IF EXISTS info CASCADE;CREATE TYPE info AS (state int4,operator varchar,time TIMESTAMP(0) );array_append(info,ROW(1,\'小米',CURRENT_TIMESTAMP(...
分类:
数据库 时间:
2015-07-23 09:27:55
阅读次数:
138
#include #include #include using namespace std;int tmp[30][3];int dp[100];class Node{public: int x; int y; int h; bool operator >n&&n!=0) ...
分类:
其他好文 时间:
2015-07-22 20:41:30
阅读次数:
188
1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 class Node 8 { 9 public:10 int x;11 int y;12 bool operator >T;33 w...
分类:
其他好文 时间:
2015-07-22 20:24:25
阅读次数:
102
矩阵快速幂#include#include#include#includeusing namespace std;long long a,b,n,m;int R,C;struct Matrix{ long long A[5][5]; Matrix operator*(Matrix b);...
分类:
其他好文 时间:
2015-07-21 12:22:40
阅读次数:
87
矩阵快速幂#include#include#include#includeusing namespace std;struct Matrix{ long long A[10][10]; Matrix operator*(Matrix b);};const long long MOD=10...
分类:
其他好文 时间:
2015-07-20 21:03:32
阅读次数:
128
本篇的两个主角是分配例程和归还例程(allocation and deallocation routines,也就是operator new和operator delete),配角是new_handler,这是当operator new无法满足客户的内存需求时所调用的函数。STL容器所使用的heap...
分类:
编程语言 时间:
2015-07-20 19:08:33
阅读次数:
145
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int n;
vector vec[100];
int vis[100];
struct node{
int n;
int t;
bool operator < (const node& a)con...
分类:
编程语言 时间:
2015-07-20 16:42:50
阅读次数:
463
题目链接:https://leetcode.com/problems/divide-two-integers/
Divide two integers without using multiplication, division and mod operator.
If it is overflow, return MAX_INT.
int divide(in...
分类:
其他好文 时间:
2015-07-20 09:19:59
阅读次数:
99
1. post-increment and pre-increment 的区别来源:http://www.c4learn.com/c-programming/c-increment-operator/#includevoid main(){int a,b,x=10,y=10;a = x++;b = ...
分类:
编程语言 时间:
2015-07-19 16:23:56
阅读次数:
150
今天把微信SDK_1.5加入我的程序中(我的开发环境是Xcode6.4),编译时报错:Undefined symbols for architecture x86_64: "operator delete[](void*)", referenced from: +[WeChatApiUtil...
分类:
微信 时间:
2015-07-18 17:03:04
阅读次数:
732