summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/maxt_2/sl.py
blob: 17db5e1a86546fdba27b7f9458835268dc6312bb (plain)
1
2
3
4
5
6
7
8
9
10
11
name = 'maxT/2'
slug = 'poišči največji element v drevesu'

description = '''\
<p><code>maxT(Tree, Max)</code>: <code>Max</code> je največji element v drevesu <code>Tree</code>.</p>
<pre>
?- maxT(t(1, t(2), t(3)), Max).
  Max = 3.
</pre>'''

hint = {}