Welcome to LeetCode Discuss.
This is a place to ask questions related to only OJ problems.
Please read the FAQ to help yourself making the best use of Discuss.
so the grader not support Vector class?
Not sure what you meant, but vector is supported in C++.
vector should be in lower case. Maybe you used "Vector"?
Well, it's Vector in Java, but there wouldn't be any reason to use it anyways…