ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1203. Scientific Conference

Why CE?
Posted by 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();

....
Re: Why CE?
Posted by Todor Tsonkov 2 Aug 2006 20:36
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?
Posted by Stanislav_Ognqnov 2 Aug 2006 20:50
ok a(30001)
and then how to push_back
my email is stanislav_ognqnov@abv.bg

Edited by author 02.08.2006 20:57