码迷,mamicode.com
首页 >  
搜索关键字:unary operator expected    ( 4672个结果
postgresql info
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
最大子序列变形——二维带权值 O(n*n) HDU1069
#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
最大子序列变形——二维 O(n*logn) TOJ4701
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
HDU 4565 So Easy!
矩阵快速幂#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
HDU 4686 Arc of Dream
矩阵快速幂#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
[Effective C++]定制new和delete
本篇的两个主角是分配例程和归还例程(allocation and deallocation routines,也就是operator new和operator delete),配角是new_handler,这是当operator new无法满足客户的内存需求时所调用的函数。STL容器所使用的heap...
分类:编程语言   时间:2015-07-20 19:08:33    阅读次数:145
拓扑排序的两种实现--基于dfs和基于入度
#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
#29 Divide Two Integers
题目链接: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
C++学习笔记--研究生期间持续更新
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
iOS调用微信SDK时遇到错误
今天把微信SDK_1.5加入我的程序中(我的开发环境是Xcode6.4),编译时报错:Undefined symbols for architecture x86_64: "operator delete[](void*)", referenced from: +[WeChatApiUtil...
分类:微信   时间:2015-07-18 17:03:04    阅读次数:732
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!