You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (std::vector<unsignedlong>::iterator it = vec.begin(); it != vec.end(); ++it)
67
86
{
68
87
if (*it == *vec.rbegin())
88
+
{
69
89
std::cout << *it << std::endl;
90
+
break;
91
+
}
70
92
std::cout << *it << "";
71
93
}
72
94
std::cout << "Time to process a range of " << vec.size() << " elements with std::vector : " << std::fixed << std::setprecision(3) << 1000 * (vec_time / (double)CLOCKS_PER_SEC) << " ms" << std::endl;
0 commit comments