The Time Equations


Solution

When running the instant, we can see that the program wants us to give an answer for each variable a, b, c, d and e based on the given set of equations.

The source code

Solve it like using this as a reference.

Line 11-29 parsed the received strings to two part. Coefficient and constant. Then store them in arrays.

Line 33 - 39 building up equations from the parsed contents

Line 44 make use of sympy module for calculating the value for each variable.


Flag

swampCTF{tim3_trav3l_i5nt_r3al}

Last updated