Update main.cpp

First,thank you very much.
times!=2i. it may depends on vector.
you can test it