word capital

Inputs

Outputs

  • Word

Neuron type

Best algorithm has been found - locked

Patterns

Pattern Input Output
1.
Word: capital

Applicable neurons

  • character i
  • character t
  • character l
  • character a
  • character c
  • character p
  • Connect - seven inputs
  • Get substring between string1 and string2
  • Get before substring
  • Volume Of a Sphere
  • name into end tag
  • x² - y² = 0 (by x)
  • Connect - six inputs
  • a ≥ b
  • constant x.xx
  • x1,2 = (-b ± √¯Δ) / 2a
  • character z
  • time to midnight

Algorithm

Test

Code made by AI:
/**
 * 5: 
 *
 * @return {Array}
 */
function neuron505()
{
return [5];
}

/**
 * 0: 
 *
 * @return {Array}
 */
function neuron500()
{
return [0];
}

/**
 * 1: 
 *
 * @return {Array}
 */
function neuron501()
{
return [1];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character i: 
 * 
 * @return {Array}
 */
function neuron640()
{
  var outputs = [];

  arr = neuron505();
  outputs[0] = arr[0];

  arr = neuron500();
  outputs[1] = arr[0];

  arr = neuron501();
  outputs[2] = arr[0];

  arr = neuron638(outputs[2], outputs[1], outputs[0]);
  outputs[3] = arr[0];

  return[outputs[3]];
}


/**
 * 6: 
 *
 * @return {Array}
 */
function neuron506()
{
return [6];
}

/**
 * 1: 
 *
 * @return {Array}
 */
function neuron501()
{
return [1];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character t: 
 * 
 * @return {Array}
 */
function neuron643()
{
  var outputs = [];

  arr = neuron506();
  outputs[0] = arr[0];

  arr = neuron501();
  outputs[1] = arr[0];

  arr = neuron638(outputs[1], outputs[1], outputs[0]);
  outputs[2] = arr[0];

  return[outputs[2]];
}


/**
 * 1: 
 *
 * @return {Array}
 */
function neuron501()
{
return [1];
}

/**
 * 0: 
 *
 * @return {Array}
 */
function neuron500()
{
return [0];
}

/**
 * 8: 
 *
 * @return {Array}
 */
function neuron508()
{
return [8];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character l: 
 * 
 * @return {Array}
 */
function neuron644()
{
  var outputs = [];

  arr = neuron501();
  outputs[0] = arr[0];

  arr = neuron500();
  outputs[1] = arr[0];

  arr = neuron508();
  outputs[2] = arr[0];

  arr = neuron638(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  return[outputs[3]];
}


/**
 * 7: 
 *
 * @return {Array}
 */
function neuron507()
{
return [7];
}

/**
 * 0: 
 *
 * @return {Array}
 */
function neuron500()
{
return [0];
}

/**
 * 9: 
 *
 * @return {Array}
 */
function neuron509()
{
return [9];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character a: 
 * 
 * @return {Array}
 */
function neuron764()
{
  var outputs = [];

  arr = neuron507();
  outputs[0] = arr[0];

  arr = neuron500();
  outputs[1] = arr[0];

  arr = neuron509();
  outputs[2] = arr[0];

  arr = neuron638(outputs[1], outputs[2], outputs[0]);
  outputs[3] = arr[0];

  return[outputs[3]];
}


/**
 * 9: 
 *
 * @return {Array}
 */
function neuron509()
{
return [9];
}

/**
 * 0: 
 *
 * @return {Array}
 */
function neuron500()
{
return [0];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character c: 
 * 
 * @return {Array}
 */
function neuron768()
{
  var outputs = [];

  arr = neuron509();
  outputs[0] = arr[0];

  arr = neuron500();
  outputs[1] = arr[0];

  arr = neuron638(outputs[1], outputs[0], outputs[0]);
  outputs[2] = arr[0];

  return[outputs[2]];
}


/**
 * 1: 
 *
 * @return {Array}
 */
function neuron501()
{
return [1];
}

/**
 * 2: 
 *
 * @return {Array}
 */
function neuron502()
{
return [2];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * 3 digits of ascii code into character: connect 3 digits to one ascii number and change it to character
 * 
 * @param x1 1. digit
 * @param x2 2. digit
 * @param x3 3. digit
 * @return {Array}
 */
function neuron638(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron564(outputs[0], outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron585(outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * character p: 
 * 
 * @return {Array}
 */
function neuron802()
{
  var outputs = [];

  arr = neuron501();
  outputs[0] = arr[0];

  arr = neuron502();
  outputs[1] = arr[0];

  arr = neuron638(outputs[0], outputs[0], outputs[1]);
  outputs[2] = arr[0];

  return[outputs[2]];
}


/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Connect - three inputs: Connect stringA + stringB + stringC
 * 
 * @param x1 string A
 * @param x2 string B
 * @param x3 string C
 * @return {Array}
 */
function neuron564(x1, x2, x3)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[3] = arr[0];

  arr = neuron520(outputs[0], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


/**
 * Connect - six inputs: 
 * 
 * @param x1 1
 * @param x2 2
 * @param x3 3
 * @param x4 4
 * @param x5 5
 * @param x6 6
 * @return {Array}
 */
function neuron652(x1, x2, x3, x4, x5, x6)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;
  outputs[3] = x4;
  outputs[4] = x5;
  outputs[5] = x6;

  arr = neuron520(outputs[4], outputs[5]);
  outputs[6] = arr[0];

  arr = neuron564(outputs[2], outputs[3], outputs[6]);
  outputs[7] = arr[0];

  arr = neuron564(outputs[0], outputs[1], outputs[7]);
  outputs[8] = arr[0];

  arr = neuron520(outputs[7], outputs[3]);
  outputs[9] = arr[0];

  return[outputs[8]];
}


/**
 * Connect - seven inputs: 
 * 
 * @param x1 1
 * @param x2 2
 * @param x3 3
 * @param x4 4
 * @param x5 5
 * @param x6 6
 * @param x7 7
 * @return {Array}
 */
function neuron808(x1, x2, x3, x4, x5, x6, x7)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;
  outputs[3] = x4;
  outputs[4] = x5;
  outputs[5] = x6;
  outputs[6] = x7;

  arr = neuron520(outputs[1], outputs[2]);
  outputs[7] = arr[0];

  arr = neuron652(outputs[0], outputs[7], outputs[3], outputs[4], outputs[5], outputs[6]);
  outputs[8] = arr[0];

  return[outputs[8]];
}


/**
 * word capital: 
 * 
 * @return {Array}
 */
function neuron803()
{
  var outputs = [];

  arr = neuron640();
  outputs[0] = arr[0];

  arr = neuron643();
  outputs[1] = arr[0];

  arr = neuron644();
  outputs[2] = arr[0];

  arr = neuron764();
  outputs[3] = arr[0];

  arr = neuron768();
  outputs[4] = arr[0];

  arr = neuron802();
  outputs[5] = arr[0];

  arr = neuron808(outputs[4], outputs[3], outputs[5], outputs[0], outputs[1], outputs[3], outputs[2]);
  outputs[6] = arr[0];

  return[outputs[6]];
}


Code made by AI:

Create your family tree for free