|
|
back to boardWhy CE? #include <iostream.h> #include <vector> using namespace std; vector <int> a[30001];
..... a[y].push_back(x); ..... m=a[i].size(); .... Re: Why CE? Although that you ain't giving your whole source I think the problem is here. It should be vector <int> a(30001) , not a[30001] Re: Why CE? ok a(30001) and then how to push_back my email is stanislav_ognqnov@abv.bg Edited by author 02.08.2006 20:57 |
|
|