Problem 1289. Evaluating continued fractions

  • Created by Tim

Given row vector

   c=[c0 c1 c2 c3 ...]

evaluate the continued fraction


If c is a matrix, return column vector x in which x(i) is the solution for row i of c.

Solution Stats

43.24% Correct | 56.76% Incorrect
Last solution submitted on Apr 09, 2019

Solution Comments