From f0f28dbd51c4e8acdc7812ed55d3331c1202b176 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Tue, 23 Nov 2021 20:28:23 -0800 Subject: [PATCH] Pythagorean thereom definition --- grow/defs/pythag.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 grow/defs/pythag.yaml diff --git a/grow/defs/pythag.yaml b/grow/defs/pythag.yaml new file mode 100644 index 0000000..f23f748 --- /dev/null +++ b/grow/defs/pythag.yaml @@ -0,0 +1,21 @@ +global_memory_size: 2 +function_memory_size: 1 +instruction_limit: 20 +samples: +- in: [3,4] + out: [5] + +- in: [5,12] + out: [13] + +- in: [8,15] + out: [17] + +- in: [7,24] + out: [25] + +- in: [20,21] + out: [29] + +- in: [12,35] + out: [37]