datatype 'a tree= Leaf of 'a | Node of 'a tree * 'a * 'a tree
fun binSearch (Node(left,n,right)) x =
if x > n then false
else if x=n then true
else binSearch (Node(left,n,right)) x = binSearch (right) x andalso binSearch (left) x;
datatype 'a tree= Leaf of 'a | Node of 'a tree * 'a * 'a tree
fun binSearch (Node(left,n,right)) x =
if x > n then false
else if x=n then true
else binSearch (Node(left,n,right)) x = binSearch (right) x andalso binSearch (left) x;
fun binSearch (t:int tree) (x:int) =
case t of
Leaf l => l=x
| Node
Opublikowano wyniki badań.
zProf. Robert Gwiazdowski (doradca podatkowy) w programie Gość Wydarzeń (Polsat News / Polsat News 2) 20.09.2016
zMaxTV będzie służyć polskiej racji stanu i będzie mieć polski kapitał. Dziennikarze będą u mnie dobrze zarabiać, ale i mocno zasuwać – zapowiada.
zWykop.pl
Czy opyla się inwestować w jakiś droższy monitor do kodzenia, czy wystarczy może taki byle jaki? Nie chciałbym się po prostu męczyć przed monitorem. Załóżmy, że mam budżet max 600zł. Co polecicie?