#include <iostream>
#include <string>
#include <vector>
int main()
{
// Conversion of Java : String op="text1 "+z+" text2"+j+" text3"+i+" "+Arrays.toString(vol);
int i = 0, j = 0, z = 0;
std::vector<int> arr;
arr.push_back(15);
arr.push_back(18);
arr.push_back(0);
std::string result = "text1 " + std::to_string(z);
result += " text2" + std::to_string(j);
result += " text3" + std::to_string(i) + " ";
for ( auto& el : arr )
result += std::to_string(el);
std::cout << "The result string is :" << result << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgoKaW50IG1haW4oKQp7CiAgICAvLyBDb252ZXJzaW9uIG9mIEphdmEgOiBTdHJpbmcgb3A9InRleHQxICIreisiIHRleHQyIitqKyIgdGV4dDMiK2krIiAiK0FycmF5cy50b1N0cmluZyh2b2wpOwogICAgCiAgICBpbnQgaSA9IDAsIGogPSAwLCB6ID0gMDsKICAgIHN0ZDo6dmVjdG9yPGludD4gYXJyOwogICAgYXJyLnB1c2hfYmFjaygxNSk7CiAgICBhcnIucHVzaF9iYWNrKDE4KTsKICAgIGFyci5wdXNoX2JhY2soMCk7CgogICAgc3RkOjpzdHJpbmcgcmVzdWx0ID0gInRleHQxICIgKyBzdGQ6OnRvX3N0cmluZyh6KTsKICAgIHJlc3VsdCArPSAiIHRleHQyIiArIHN0ZDo6dG9fc3RyaW5nKGopOwogICAgcmVzdWx0ICs9ICIgdGV4dDMiICsgc3RkOjp0b19zdHJpbmcoaSkgKyAiICI7CgogICAgZm9yICggYXV0byYgZWwgOiBhcnIgKQogICAgICAgIHJlc3VsdCArPSBzdGQ6OnRvX3N0cmluZyhlbCk7CgogICAgc3RkOjpjb3V0IDw8ICJUaGUgcmVzdWx0IHN0cmluZyBpcyA6IiA8PCByZXN1bHQgPDwgc3RkOjplbmRsOwoKICAgIHJldHVybiAwOwp9