From 560a614afad76183d1a37f06fc8813427744b222 Mon Sep 17 00:00:00 2001 From: Ryan Boldi Date: Sun, 31 Jul 2022 09:53:38 -0400 Subject: [PATCH] Update find_pair.cljc --- src/propeller/problems/PSB2/find_pair.cljc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/propeller/problems/PSB2/find_pair.cljc b/src/propeller/problems/PSB2/find_pair.cljc index 092ae8f..313c1e4 100644 --- a/src/propeller/problems/PSB2/find_pair.cljc +++ b/src/propeller/problems/PSB2/find_pair.cljc @@ -10,16 +10,6 @@ [propeller.gp :as gp] #?(:cljs [cljs.reader :refer [read-string]]))) -; =========== PROBLEM DESCRIPTION =============================== -; GCD [GREATEST COMMON DIVISOR] from PSB2 -; Given two integers, return the largest integer that divides each -; of the integers evenly -; -; Source: https://arxiv.org/pdf/2106.06086.pdf -; ================================================================== - -;(def train-and-test-data (psb2/fetch-examples "data" "gcd" 200 2000)) - (def train-data (dc/read-data-formatted "find-pair" "train")) (def test-data (dc/read-data-formatted "find-pair" "test")) @@ -39,7 +29,7 @@ (utils/not-lazy (concat ;;; stack-specific instructions - (get-stack-instructions #{:exec :integer :vector_integer :boolean :string_print :integer_print}) + (get-stack-instructions #{:exec :integer :vector_integer :boolean :print}) ;;; input instructions (list :in1 :in2) ;;; close