⚡ Build the skills to land top-paying quant jobs. Offer ends in --d --h --m --s-- days -- hours -- minutes -- seconds.
⚡ Build the skills to land top-paying quant jobs. Offer ends in 19d 08h 36m 31s19 days 8 hours 36 minutes 31 seconds.
What does this program print?
#include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::vector<int> v{1,2,3,4,5};
int threshold = 3;
auto it = std::find_if(v.begin(), v.end(), [threshold](int x){ return x > threshold; });
if (it != v.end()) std::cout << *it;
}