|
|
back to boardShow all messages Hide all messagesWhy CE? Stanislav_Ognqnov 2 Aug 2006 17:55 #include <iostream.h> #include <vector> using namespace std; vector <int> a[30001];
..... a[y].push_back(x); ..... m=a[i].size(); .... 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] ok a(30001) and then how to push_back my email is stanislav_ognqnov@abv.bg Edited by author 02.08.2006 20:57 |
|
|