| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
TLE了半天,后来把vector换成数组,就ac了。难道vector比数组慢吗?如果这样的话
vector<vector<int> > dp(101, vector<int>(45001), 0);
int main(){
............................
}
dp的初始化时间算在程序运行时间之内吗?
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator