呵呵
#include
#include
#include
#include
typedef long long ll;
using namespace std;
const int N = 5 * 10000 + 5;
int xval[N], dep;
int n, a[N], pre[N];
ll d[N];
int pos[300], dd;
void work() {
d...
分类:
其他好文 时间:
2014-09-14 20:49:28
阅读次数:
211
线段树的区间最大值问题,边界特殊处理一下。
#include
#include
#include
#include
#include
#include
using namespace std;
#define maxn 222222
int tree[maxn << 2];
int w,h,m,ok;
void BuildTree(int L,int R,int pos){
tree[p...
分类:
其他好文 时间:
2014-09-13 22:51:26
阅读次数:
206
numpy中ndarray的多维度上的合并
data_pos =
[[-0.00870993 0.84913981]
[-0.28528784 0.2612078 ]
[-0.4475744 0.43677346]
[-0.2473318 -0.89767194]
[ 0.45242961 -0.02112013]
[-0.10939665 -0.6767824...
分类:
编程语言 时间:
2014-09-12 01:18:32
阅读次数:
396
--抓取西部POS数据DELETE FROM POSLSBFINSERT INTO POSLSBFselect * from [192.168.1.100].[SCMIS].DBO.possrlbf WHERE SLDAT>'20130101'ORDER BY 1INSERT INTO POSXBB...
分类:
其他好文 时间:
2014-09-11 20:56:12
阅读次数:
252
从9月7日开始,我省出现大范围强降雨过程,截至10日,全省先后有104个县区出现降水,据省水文局监测数据显示,从9月7日8时至10日14时,陕南中部及东北部、西安南部暴雨持续。汉江支流子午河、泾洋河、冷水河、喜神坝河、乾佑河和渭河支流大峪河分别出现网络pos机超警戒洪水过程。据水www.syzc.....
分类:
其他好文 时间:
2014-09-11 18:58:02
阅读次数:
211
Problem 1:vector coll = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };vector::const_iterator pos = find (coll.cbegin(), coll.cend(),5);cout ::const_reverse_iterator r...
分类:
其他好文 时间:
2014-09-11 18:56:12
阅读次数:
226
据国外媒体报道,基努·里维斯与导演罗兰·艾默里奇正一同开发一部名为《纽杉矶》的科幻剧集,讲述一位普通人在名叫“纽杉矶”的虚拟世界里的冒险故事。听上去很像《黑客帝国》是不是?目前还不确定里维斯本人会不会主演这部剧集。 《纽杉矶》是一部设定于未来的网络pos机科幻剧集,一位普通的年轻人www.sy...
分类:
其他好文 时间:
2014-09-11 18:55:12
阅读次数:
178
//获取文件名后缀char* fileName = "pwave.sgy";std::string file_str = fileName;int pos = file_str.rfind('.') + 1;std::string temp = file_str.substr( pos );
分类:
其他好文 时间:
2014-09-11 17:03:42
阅读次数:
181
#include
#include
typedef void List;
typedef void ListNode;
List * List_Create();
void List_Clear(List * list);
void List_Destroy(List *list);
ListNode * List_Delete(List *list,int pos);
in...
分类:
其他好文 时间:
2014-09-09 23:08:49
阅读次数:
600
模拟code#include #include #define LEN 1000using namespace std;int n, t;int pos[30], last[30], v[30];int ans[30];int main(){ cin >> n >> t; for (in...
分类:
其他好文 时间:
2014-09-09 21:18:59
阅读次数:
232