28.07.2017, 11:28
ops
PHP код:
AddCenters(input[])
{
new output[MAX_STRING];
for (new i = 0, j = 0; j < MAX_STRING - 1 && (output[j] = input[i]); ++i, j+= 2)
{
output[j + 1] = '_';
}
return output;
}