diff options
author | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-04-24 21:54:10 +0200 |
---|---|---|
committer | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-04-24 21:54:10 +0200 |
commit | 84679002b27cbfb66e6aaf3a5f5927e2ebde44e3 (patch) | |
tree | b5c882538ffce80b2e8db113d15b5f58e5671aae /prolog/problems/clp_r/megabytes_2 | |
parent | 8c04e6a402aba2270aadc78fb44cfa8b3762d42c (diff) |
CLP(R) exercises: Slovenian descriptions added.
Diffstat (limited to 'prolog/problems/clp_r/megabytes_2')
-rw-r--r-- | prolog/problems/clp_r/megabytes_2/sl.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/prolog/problems/clp_r/megabytes_2/sl.py b/prolog/problems/clp_r/megabytes_2/sl.py new file mode 100644 index 0000000..e88c48e --- /dev/null +++ b/prolog/problems/clp_r/megabytes_2/sl.py @@ -0,0 +1,15 @@ +# coding=utf-8 + +name = 'megabytes/2' +slug = 'prevedi vrednosti v mebibajtih v megabajte' + +description = '''\ +<p><em>Mega</em>bajt je SI enota, ki pomeni 10<sup>6</sup> bajtov, medtem, ko je <em>mebi</em>bajt IEC enota, ki pomeni 2<sup>20</sup> bajtov. NapiĊĦi predikat <code>megabytes(SI, IEC)</code>, ki prevaja med tema enotama z uporabo omejitev.</p> +<pre> +?- megabytes(2, IEC). + IEC = 1.9073486328125. +?- megabytes(SI, 2). + SI = 2.097152. +</pre>''' + +hint = {} |