I am solving this problem but my answer is greater than 1 I tried to debug it but I didn\'t get it.
int poisonousPlants(vector p) { int n = p.size(