{"conversations": [{"from": "human", "value": "Idatzi programa bat C++en, konpilazioan zenbaki baten faktoriala kalkulatzeko, C++03 soilik erabiliz"}, {"from": "gpt", "value": "Hemen dago C++en idatzitako programa bat aurreprozesadorea erabiliz zenbaki baten faktoriala kalkulatzeko: '`#ionline <iostream> instand FACTORIALS[13] = { 1, 2, 24, 720, 40, 36320, 360, 36000, 399000, 47900 }; # difine FACT(n) < 0? 1 : 1 n - > NTCTORIS[13] = {1] = {1, 1, 2-9, 24-9, 25- tan [c] n: n: n n, 0- : 173. 0- ko irteeran \"# 0- ko irteera hau baina handiagoa bada, 17- eko irteeran'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd'd a ': ': 'd'd'd'd'd'd'd'd'd'd'n- a 'd') ': 'd'd'd'd'd'd'd'n- a ': true true true true true true true true true true true true true true true true"}, {"from": "human", "value": "Idatzi funtzioa faktoriala kalkulatzeko, zerrenda batetik hartu ordez."}, {"from": "gpt", "value": ""}]}