Made Smallest problem not parse printed integer.
This commit is contained in:
parent
fcb8bd398b
commit
69a65229fe
@ -80,10 +80,7 @@
|
||||
:print))
|
||||
inputs)
|
||||
errors (map (fn [correct-output output]
|
||||
(let [parsed-output (try (read-string output)
|
||||
#?(:clj (catch Exception e 1000.0)
|
||||
:cljs (catch js/Error. e 1000.0)))]
|
||||
(if (= correct-output parsed-output) 0 1)))
|
||||
(if (= (str correct-output) output) 0 1))
|
||||
correct-outputs
|
||||
outputs)]
|
||||
(assoc individual
|
||||
|
Loading…
x
Reference in New Issue
Block a user