From 388b32039898cc8f1784378689007254eb7a33b6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 13 Jan 2016 13:51:15 +0100 Subject: Remove space-padding from
 blocks

---
 prolog/problems/clp_r/bounding_box_3/en.py | 4 ++--
 prolog/problems/clp_r/center_3/en.py       | 6 +++---
 prolog/problems/clp_r/max_sum_2/en.py      | 8 ++++----
 prolog/problems/clp_r/megabytes_2/en.py    | 8 ++++----
 4 files changed, 13 insertions(+), 13 deletions(-)

(limited to 'prolog/problems/clp_r')

diff --git a/prolog/problems/clp_r/bounding_box_3/en.py b/prolog/problems/clp_r/bounding_box_3/en.py
index 8c6a9f7..efb7a55 100644
--- a/prolog/problems/clp_r/bounding_box_3/en.py
+++ b/prolog/problems/clp_r/bounding_box_3/en.py
@@ -6,8 +6,8 @@ slug = 'find the smallest bounding box'
 description = '''\
 

bounding_box(Points, X1/Y1, X2/Y2): X1/Y1 and X2/Y2 are the bottom-left and top-right points defining the smallest bounding box containing all points in the list Points.

-  ?- bounding_box([4.5/2.3, 3.6/1.2, 6.7/0.1], X1/Y1, X2/Y2).
-    X1 = 3.6, Y1 = 0.1, X2 = 6.7, Y2 = 2.3.
+?- bounding_box([4.5/2.3, 3.6/1.2, 6.7/0.1], X1/Y1, X2/Y2).
+  X1 = 3.6, Y1 = 0.1, X2 = 6.7, Y2 = 2.3.
 
''' hint = {} diff --git a/prolog/problems/clp_r/center_3/en.py b/prolog/problems/clp_r/center_3/en.py index ae5aeb8..e6ca645 100644 --- a/prolog/problems/clp_r/center_3/en.py +++ b/prolog/problems/clp_r/center_3/en.py @@ -6,9 +6,9 @@ slug = 'find central points' description = '''\

center(Points, R, X/Y): X/Y is a point in the list Points that is at most R away from all other points.

-  ?- center([1.0/1.1, 2.0/2.1, 3.0/3.1, 4.0/4.1], 4.0, X/Y).
-    X = 2.0, Y = 2.1 ;
-    X = 3.0, Y = 3.1.
+?- center([1.0/1.1, 2.0/2.1, 3.0/3.1, 4.0/4.1], 4.0, X/Y).
+  X = 2.0, Y = 2.1 ;
+  X = 3.0, Y = 3.1.
 
''' hint = {} diff --git a/prolog/problems/clp_r/max_sum_2/en.py b/prolog/problems/clp_r/max_sum_2/en.py index eeff4cd..269f8b3 100644 --- a/prolog/problems/clp_r/max_sum_2/en.py +++ b/prolog/problems/clp_r/max_sum_2/en.py @@ -6,10 +6,10 @@ slug = 'find maximal adjacent elements' description = '''\

max_sum(List, Max): Max is the maximal sum of two adjacent elements in List.

-  ?- max_sum([4.5, 3.6, 1.2, 6.7], Max).
-    Max = 8.1.
-  ?- max_sum([1.1, 1.2, -12.3, 8.8], Max).
-    Max = 2.3.
+?- max_sum([4.5, 3.6, 1.2, 6.7], Max).
+  Max = 8.1.
+?- max_sum([1.1, 1.2, -12.3, 8.8], Max).
+  Max = 2.3.
 
''' hint = {} diff --git a/prolog/problems/clp_r/megabytes_2/en.py b/prolog/problems/clp_r/megabytes_2/en.py index 01fdfff..27919dc 100644 --- a/prolog/problems/clp_r/megabytes_2/en.py +++ b/prolog/problems/clp_r/megabytes_2/en.py @@ -6,10 +6,10 @@ slug = 'convert mebibytes to megabytes' description = '''\

A megabyte is the SI unit meaning 106 bytes, while a mebibyte is the IEC unit meaning 220 bytes. Write the predicate megabytes(SI, IEC) that converts between the two using constraints.

-  ?- megabytes(2, IEC).
-    IEC = 1.9073486328125.
-  ?- megabytes(SI, 2).
-    SI = 2.097152.
+?- megabytes(2, IEC).
+  IEC = 1.9073486328125.
+?- megabytes(SI, 2).
+  SI = 2.097152.
 
''' hint = {} -- cgit v1.2.1