#include <array>
#include <utility>
#include <algorithm>
#include <iostream>
template<class T, class... Tail>
std::array<T,1+sizeof...(Tail)> make_array(T&& head, Tail&&... values)
{
return std::array<T,1+sizeof...(Tail)>{
std::forward<T>(head), std::forward<Tail>(values)... };
}
int main(){
auto arr = make_array(1,3,3,7,0,4,2,0,3,1,4,1,5,9);
std::for_each(arr.begin(), arr.end(), [](int& val){std::cout << val << " ";});
}
I2luY2x1ZGUgPGFycmF5PgojaW5jbHVkZSA8dXRpbGl0eT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGU8Y2xhc3MgVCwgY2xhc3MuLi4gVGFpbD4Kc3RkOjphcnJheTxULDErc2l6ZW9mLi4uKFRhaWwpPiBtYWtlX2FycmF5KFQmJiBoZWFkLCBUYWlsJiYuLi4gdmFsdWVzKQp7CiAgcmV0dXJuIHN0ZDo6YXJyYXk8VCwxK3NpemVvZi4uLihUYWlsKT57CiAgICAgc3RkOjpmb3J3YXJkPFQ+KGhlYWQpLCBzdGQ6OmZvcndhcmQ8VGFpbD4odmFsdWVzKS4uLiB9Owp9CgppbnQgbWFpbigpewogIGF1dG8gYXJyID0gbWFrZV9hcnJheSgxLDMsMyw3LDAsNCwyLDAsMywxLDQsMSw1LDkpOwogIHN0ZDo6Zm9yX2VhY2goYXJyLmJlZ2luKCksIGFyci5lbmQoKSwgW10oaW50JiB2YWwpe3N0ZDo6Y291dCA8PCB2YWwgPDwgIiAiO30pOwp9