ISYS90086 Data Warehousing – Summer Semester 2020Assignment 1 – Data Warehouse Design Assignment (25 marks)In groups of 2, you are required to write a ...
分类:
其他好文 时间:
2020-01-20 20:56:10
阅读次数:
86
Are you using C++11 or later? The original operator new() declarations in C++98 throwing: void* operator new (std::size_t size) throw (std::bad_alloc) ...
分类:
其他好文 时间:
2020-01-20 09:18:07
阅读次数:
137
#include<iostream> using namespace std; class complex { public://被公有外界使用的public, complex (double r=0,double i=0) :re(r), im(i) { } complex& operator + ...
分类:
其他好文 时间:
2020-01-19 22:27:32
阅读次数:
132
1 #include<bits/stdc++.h> 2 using namespace std; 3 4 const int maxn = 1010; 5 struct node{ 6 int x,y; 7 friend bool operator<(const node &a,const node ...
分类:
编程语言 时间:
2020-01-19 12:34:35
阅读次数:
89
[toc] ___ 这场考试感觉很奇怪。 $T1、T2$ 都缺一个小特判。 $T3$ 打了个比暴力优的暴力 ~~还是暴力~~,但是不知道为什么 $WA$ 穿了。 ~~考试的时候还玩扫雷...~~ 其实,菜是原罪啊... ___ T1 小奇取石子 题目 "点这里" 考场思路 刚开始差点被自己坑了,开考 ...
分类:
其他好文 时间:
2020-01-19 00:19:05
阅读次数:
100
http://acm.hdu.edu.cn/showproblem.php?pid=3511 题意: 给出n个相离或包含的圆,问最里层的圆是第几层 竖着的扫描线与圆在最左侧相切时 1、线在圆的上方或下方无交点,则该圆在第1层 2、线在圆的上下方都有交点,且上下方的交点属于同一个圆C,则该圆在圆C的里 ...
分类:
其他好文 时间:
2020-01-18 19:21:04
阅读次数:
79
struct matrix{ int n,m,a[N][N]; void init(int x) { n=m=x; for(int j=1;j<=n;j++)//单位帧初始化 a[i][j]=(i==j); } }; matrix operator*(matrix x,matrix y) { mat ...
分类:
其他好文 时间:
2020-01-17 21:27:05
阅读次数:
82
from uiautomator import Device from PIL import Image import math import operator from functools import reduce ## image compare. # def image_compare(im ...
分类:
移动开发 时间:
2020-01-17 21:17:24
阅读次数:
159
```cpp #include #include #include #include #include #include using namespace std; const int N=1e4+10,M=2e5+10,inf=0x3f3f3f3f; int n,m,s,t; int nxt[M],... ...
分类:
其他好文 时间:
2020-01-17 11:46:18
阅读次数:
65
题解:求最小生成树的最大权值边 ①n<=50000,用二维数组会编译出错,开不了50000*50000这么大的数组 ②用Vector+优先队列 优化Prim即可得正解,一定要用优先队列优化,否则会超时! ③可以用struct Node,也可以用Pair优化 #include <stdio.h> #i ...
分类:
其他好文 时间:
2020-01-14 21:05:09
阅读次数:
113