123456789101112131415
#include <iostream> #include <vector> using namespace std; int main() { vector<int> prime={1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; for(int i = 0;i <= prime.size(); i++) { cout<<prime[i]; } return 0; }
i <= prime.size()
i < prime.size()