increment subitem

Inputs

  • count of items
  • count of subitems
  • 1 item = X subitems
  • increment subitem

Outputs

  • count of items
  • count of subitems

Neuron type

Checked - ready to generate algorithm

Patterns

Pattern Input Output
1.
count of items: 2000
count of subitems: 1
1 item = X subitems: 12
increment subitem: 5
count of items: 2000
count of subitems: 6
2.
count of items: 2018
count of subitems: 5
1 item = X subitems: 12
increment subitem: 24
count of items: 2020
count of subitems: 5
3.
count of items: 0
count of subitems: 50
1 item = X subitems: 60
increment subitem: 20
count of items: 1
count of subitems: 10

Applicable neurons

  • Plus (x + y)
  • Minus (x - y)
  • Division (x ÷ y)
  • 1
  • a > b
  • a = b
  • a < b
  • IF a=b THEN c ELSE d
  • IF (1) THEN a ELSE b
  • If number is without decimal part then X else Y
  • x to the 3 (x³)
  • Get substring between string1 and string2
  • Destroyed building (windows)
  • discriminant b² - 4ac
  • Get html between tags (text)
  • delete character at the end of a sentence
  • character ≥
  • empty string change into zero
  • IfNull
  • convert seconds into hours, minutes and seconds

Algorithm

Algorithm not exists


Create your family tree for free