vector b(10000); void upd(int p, int v){ b[p-1]=v; //TODO } int ask(int p){ //TODO return b[p-1]; } void init(int n, vector v){ for(int i=0;i