From 72a899429bd5c219c718665c037a5e46ad143ed2 Mon Sep 17 00:00:00 2001
From: Aleksander Sadikov
River data is given by the predicate
river(Name, FlowsToRiver, FlowsToLake, FlowsToSea, Length, Area, - SourceLat, SourceLon, SourceElevation, MouthLat, MouthLon). + SourceLat, SourceLon, SourceName, SourceElevation, MouthLat, MouthLon).''' diff --git a/prolog/problems/world_data/flows_2/sl.py b/prolog/problems/world_data/flows_2/sl.py index ef46f6b..7af2a7d 100644 --- a/prolog/problems/world_data/flows_2/sl.py +++ b/prolog/problems/world_data/flows_2/sl.py @@ -12,7 +12,7 @@ ki se priključi Donavi, ki teče v Črno morje, zato naj program odgovori tako:
Podatki o rekah so predstavljeni s predikatom
river(Name, FlowsToRiver, FlowsToLake, FlowsToSea, Length, Area, - SourceLat, SourceLon, SourceElevation, MouthLat, MouthLon). + SourceLat, SourceLon, SourceName, SourceElevation, MouthLat, MouthLon).
Za vsako reko je podan največ en izmed argumentov FlowsToRiver
,
FlowsToLake
in FlowsToSea
, ki pove, v katero reko,
--
cgit v1.2.1