Se consideră algoritmul f(x, y, v), unde x, y și v sunt numere naturale (1 ≤ x, y, v ≤ 100, x ≤ v).
Algorithm f(x, y, v):
If x ≥ v then
Write '1'
Else
If x MOD y ≠ 0 then
f(x + 1, y, v - 1)
Else
If y MOD v ≠ 0 then
f(x, y + 1, v - 1)
Write '*'
Else
f(x + 1, y, v - 2)
Write '2'
EndIf
EndIf
EndIf
EndAlgorithmCare dintre următoarele afirmații sunt adevărate?
Alegeți toate variantele corecte.